@Service @PerLookup @Visibility(value=LOCAL) public class FactoryWithVisibility extends Object implements Factory<String>
Constructor and Description |
---|
FactoryWithVisibility() |
Modifier and Type | Method and Description |
---|---|
void |
dispose(String instance)
This method will dispose of objects created with this scope.
|
String |
provide()
This method will create instances of the type of this factory.
|
@Visibility(value=LOCAL) @PerLookup public String provide()
Factory
Copyright © 2009–2023 Oracle Corporation. All rights reserved.