Name

DirStateFactory

Synopsis

A DirStateFactory is a specialization of StateFactory that allows the use of Attributes when creating state for bound objects. Object states created using this factory are represented as DirStateFactory.Result objects.

                  
public interface DirStateFactory extends StateFactory {
// Inner Classes
   public static class Result; 
// Public Instance Methods
   public abstract DirStateFactory.Result getStateToBind(
        Object obj, javax.naming.Name name, 
        javax.naming.Context nameCtx, 
        java.util.Hashtable environment, 
        Attributes inAttrs) throws NamingException;  
}

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.