javax.naming.spi
public interface StateFactory
See Also: DirStateFactory ObjectFactory
Method Summary | |
---|---|
Object | getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
Get the object state for binding.
|
Parameters: obj the object, for that the binding state must be retrieved. Cannot be null. name the name of this object, related to the nameCtx. Can be null if not specified. nameCtx the naming context, to that the object name is related. Can be null if the name is related to the initial default context. environment the properties for creating the object state. Can be null if no properties are provided.
Returns: the object state for binding, may be null if no changes are returned by the factory
Throws: NamingException
See Also: NamingManager DirectoryManager