| CONTENTS | PREV | NEXT | JNDI API |
Appendix 4:
javax.naming.event
package.
javax.naming.ldap
package.
NamingEnumeration.close()
for cancelling or terminating enumerations.
ReferralException.getReferralContext(Hashtable
env) and ReferralException.retryReferral()
to allow creation and retry of referral context with different
environment properties.
Name argument should
deal with CompositeName and non CompositeName
arguments. Specifically, instances of CompositeName
are treated as composite name, while all others are treated as
compound name.
Context.getNameInNamespace()
for retrieving the full name of a context within its own namespace.
Reference object.
Specifically, the location is a codebase, which consists of a
list space-separated URLs.
Attribute
and BasicAttribute .
BasicAttributes.equals()
and BasicAttributes.hashCode() .
DirContext.getSchemaClassDefinition() so that
it returns a context that contains the DirContext
objects of class definitions, rather than returning one (arbitrary)
class definition.
InitialContext / InitialDirContext
constructors to allow lazy initialization. Useful for subclass
implementations.
StateFactory
/ NamingManager.getStateToBind() , analogous to
ObjectFactory / NamingManager.getObjectInstance()
, for transforming an object's state before the object is bound
in the naming/directory service.
DirObjectFactory and DirStateFactory
to better support service providers that implement the DirContext
interface. Added DirectoryManager.getObjectInstance()
and DirectoryManager.getStateToStore() to use these
interfaces.
NamingManager.getObjectInstance() to not treat
URL strings specially. Instead, the URL should be wrapped inside
a Reference whose RefAddr type is "URL".
ResolveResult
implement Serializable .
Reference called a next naming system (nns)
reference for supporting "dynamic federation". This
reference has a RefAddr type of "nns"
and a content consisting of the resolved object.
NamingManager.CPE which names a property
set by NamingManager.getContinuationContext() /
DirectoryManager.getContinuationContext() . The value
of this property is an instance of CannotProceedException
. This is useful to service providers that implement federation
by chaining the CPEs.