com.sun.enterprise.naming.util
Class SimpleNamingObjectFactory

java.lang.Object
  extended by com.sun.enterprise.naming.util.SimpleNamingObjectFactory
All Implemented Interfaces:
NamingObjectFactory, NamingObjectProxy

@Service
public class SimpleNamingObjectFactory
extends Object
implements NamingObjectFactory


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.api.naming.NamingObjectProxy
NamingObjectProxy.InitializationNamingObjectProxy
 
Constructor Summary
SimpleNamingObjectFactory(String name, Object value)
           
 
Method Summary
 Object create(Context ic)
           
 boolean isCreateResultCacheable()
          Tells if the result of create() is cacheable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNamingObjectFactory

public SimpleNamingObjectFactory(String name,
                                 Object value)
Method Detail

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)
Specified by:
create in interface NamingObjectProxy


Copyright © 2012 GlassFish Community. All Rights Reserved.