Package org.jvnet.hk2.metadata.tests
Class AbstractFactory<A,B,C,D>
java.lang.Object
org.jvnet.hk2.metadata.tests.AbstractFactory<A,B,C,D>
- All Implemented Interfaces:
Factory<C>
- Direct Known Subclasses:
ConcreteFactory
This is an abstract factory, the true type will
comd from the concrete class
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractFactory
public AbstractFactory()
-
-
Method Details
-
getA
-
getB
-
getC
-
getD
-
provide
Description copied from interface:Factory
This method will create instances of the type of this factory. The provide method must be annotated with the desired scope and qualifiers. -
dispose
Description copied from interface:Factory
This method will dispose of objects created with this scope. This method should not be annotated, as it is naturally paired with the provide method
-