Package com.sun.enterprise.naming.util
Class SimpleNamingObjectFactory<T>
java.lang.Object
com.sun.enterprise.naming.util.SimpleNamingObjectFactory<T>
- 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
ConstructorsConstructorDescriptionSimpleNamingObjectFactory(org.glassfish.api.naming.SimpleJndiName name, T value) -
Method Summary
Modifier and TypeMethodDescriptionorg.glassfish.api.naming.SimpleJndiNamegetName()booleanTells if the result of create() is cacheable.
-
Constructor Details
-
SimpleNamingObjectFactory
-
-
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
-
getName
public org.glassfish.api.naming.SimpleJndiName getName() -
create
- Specified by:
createin interfaceorg.glassfish.api.naming.NamingObjectProxy
-