@Service @PerLookup @Visibility(value=LOCAL) public class FactoryWithVisibility extends java.lang.Object implements Factory<java.lang.String>
Constructor and Description |
---|
FactoryWithVisibility() |
Modifier and Type | Method and Description |
---|---|
void |
dispose(java.lang.String instance)
This method will dispose of objects created with this scope.
|
java.lang.String |
provide()
This method will create instances of the type of this factory.
|
@Visibility(value=LOCAL) @PerLookup public java.lang.String provide()
Factory
public void dispose(java.lang.String instance)
Factory