Package com.sun.enterprise.naming.spi
Interface NamingObjectFactory
- All Superinterfaces:
org.glassfish.api.naming.NamingObjectProxy
- All Known Implementing Classes:
CloningNamingObjectFactory,JndiInitializationNamingObjectFactory,JndiNamingObjectFactory,SimpleNamingObjectFactory
@Contract
public interface NamingObjectFactory
extends org.glassfish.api.naming.NamingObjectProxy
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.api.naming.NamingObjectProxy
org.glassfish.api.naming.NamingObjectProxy.InitializationNamingObjectProxy -
Method Summary
Modifier and TypeMethodDescriptionbooleanTells if the result of create() is cacheable.Methods inherited from interface org.glassfish.api.naming.NamingObjectProxy
create
-
Method Details
-
isCreateResultCacheable
boolean isCreateResultCacheable()Tells if the result of create() is cacheable. If so the naming manager will replace this object factory with the object itself.- Returns:
- true if the result of create() can be cached
-