Class SimpleNamingObjectFactory<T>

java.lang.Object
com.sun.enterprise.naming.util.SimpleNamingObjectFactory<T>
All Implemented Interfaces:
NamingObjectFactory, org.glassfish.api.naming.NamingObjectProxy

@Service public class SimpleNamingObjectFactory<T> extends Object implements NamingObjectFactory
  • Constructor Details

    • SimpleNamingObjectFactory

      public SimpleNamingObjectFactory(org.glassfish.api.naming.SimpleJndiName name, T value)
  • Method Details

    • 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
    • getName

      public org.glassfish.api.naming.SimpleJndiName getName()
    • create

      public T create(Context ic)
      Specified by:
      create in interface org.glassfish.api.naming.NamingObjectProxy