Package com.sun.enterprise.naming.spi
Interface NamingObjectFactory
-
- All Superinterfaces:
NamingObjectProxy
- All Known Implementing Classes:
CloningNamingObjectFactory
,DelegatingNamingObjectFactory
,FactoryForEntityManagerFactoryWrapper
,JndiInitializationNamingObjectFactory
,JndiNamingObjectFactory
,SimpleNamingObjectFactory
@Contract public interface NamingObjectFactory extends NamingObjectProxy
Interface for building proxy objects that can be bound to GlassfishNamingManager. Concrete implementation of this contract will take appropriate action when the proxy is looked up. Typically, this can be used to lazily instantiate an Object at lookup time than at bind time. Again, it is up to the implementation to cache the result (inside the proxy implementation so that subsequent lookup can obtain the same cached object. Or the implementation can choose to return different object every time.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.api.naming.NamingObjectProxy
NamingObjectProxy.InitializationNamingObjectProxy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isCreateResultCacheable()
Tells if the result of create() is cacheable.-
Methods inherited from interface org.glassfish.api.naming.NamingObjectProxy
create
-
-