DirStateFactory
Interface DirStateFactory
- All Superinterfaces:
- StateFactory
public interface DirStateFactory extends StateFactory
This interface represents a factory for obtaining the state of an object and corresponding attributes for binding.
The JNDI framework allows for object implementations to be loaded in dynamically via object factories
.
A DirStateFactory
extends StateFactory
by allowing an Attributes
instance to be supplied to and be returned by the getStateToBind()
method. DirStateFactory
implementations are intended to be used by DirContext
service providers. When a caller binds an object using DirContext.bind()
, he might also specify a set of attributes to be bound with the object. The object and attributes to be bound are passed to the ge