com.sun.enterprise.naming.util
Class CloningNamingObjectFactory
java.lang.Object
com.sun.enterprise.naming.util.CloningNamingObjectFactory
- All Implemented Interfaces:
- NamingObjectFactory, NamingObjectProxy
@Service
public class CloningNamingObjectFactory
- extends Object
- implements NamingObjectFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloningNamingObjectFactory
public CloningNamingObjectFactory(String name,
Object value)
CloningNamingObjectFactory
public CloningNamingObjectFactory(String name,
NamingObjectFactory delegate)
isCreateResultCacheable
public boolean isCreateResultCacheable()
- Description copied from interface:
NamingObjectFactory
- Tells if the result of create() is cacheable. If so
the naming manager will replace this object factory with
the object itself.
- Specified by:
isCreateResultCacheable in interface NamingObjectFactory
- Returns:
- true if the result of create() can be cached
create
public Object create(Context ic)
throws NamingException
- Specified by:
create in interface NamingObjectProxy
- Throws:
NamingException
Copyright © 2012 GlassFish Community. All Rights Reserved.