com.sun.enterprise.naming.spi
Interface NamingObjectFactory

All Superinterfaces:
NamingObjectProxy
All Known Implementing Classes:
CloningNamingObjectFactory, DelegatingNamingObjectFactory, JndiNamingObjectFactory, SimpleNamingObjectFactory

@Contract
public interface NamingObjectFactory
extends NamingObjectProxy


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.api.naming.NamingObjectProxy
NamingObjectProxy.InitializationNamingObjectProxy
 
Method Summary
 boolean isCreateResultCacheable()
          Tells if the result of create() is cacheable.
 
Methods inherited from interface org.glassfish.api.naming.NamingObjectProxy
create
 

Method Detail

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


Copyright © 2012. All Rights Reserved.