Name

DirObjectFactory

Synopsis

A DirObjectFactory is a specialization of ObjectFactory that supports the use of Attributes while dynamically loading objects found in the directory. An overloaded version of getObjectInstance() with an additional Atributes argument is declared in the interface.

                  
public interface DirObjectFactory extends ObjectFactory {
// Public Instance Methods
   public abstract Object getObjectInstance(Object obj, 
        javax.naming.Name name, 
        javax.naming.Context nameCtx, 
        java.util.Hashtable environment, 
        Attributes attrs) throws Exception;  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.