Package org.jvnet.hk2.metadata.tests
Class FactoryWithDefaultProxy
- java.lang.Object
-
- org.jvnet.hk2.metadata.tests.FactoryWithDefaultProxy
-
-
Constructor Summary
Constructors Constructor Description FactoryWithDefaultProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose(Object instance)
This method will dispose of objects created with this scope.Object
provide()
This method will create instances of the type of this factory.
-
-
-
Method Detail
-
provide
@Singleton @UseProxy public Object 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.
-
-