Package org.jvnet.hk2.metadata.tests
Class FactoryWithVisibility
java.lang.Object
org.jvnet.hk2.metadata.tests.FactoryWithVisibility
@Service
@PerLookup
@Visibility(LOCAL)
public class FactoryWithVisibility
extends Object
implements Factory<String>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FactoryWithVisibility
public FactoryWithVisibility()
-
-
Method Details
-
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
-