Package com.sun.enterprise.naming.util
Class JndiNamingObjectFactory
java.lang.Object
com.sun.enterprise.naming.util.JndiNamingObjectFactory
- All Implemented Interfaces:
NamingObjectFactory,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 -
Constructor Summary
ConstructorsConstructorDescriptionJndiNamingObjectFactory(org.glassfish.api.naming.SimpleJndiName name, org.glassfish.api.naming.SimpleJndiName jndiName, boolean cacheResult) -
Method Summary
Modifier and TypeMethodDescription<T> TbooleanTells if the result of create() is cacheable.
-
Constructor Details
-
JndiNamingObjectFactory
public JndiNamingObjectFactory(org.glassfish.api.naming.SimpleJndiName name, org.glassfish.api.naming.SimpleJndiName jndiName, boolean cacheResult)
-
-
Method Details
-
isCreateResultCacheable
public boolean isCreateResultCacheable()Description copied from interface:NamingObjectFactoryTells if the result of create() is cacheable. If so the naming manager will replace this object factory with the object itself.- Specified by:
isCreateResultCacheablein interfaceNamingObjectFactory- Returns:
- true if the result of create() can be cached
-
create
- Specified by:
createin interfaceorg.glassfish.api.naming.NamingObjectProxy- Throws:
NamingException
-