All Packages Class Hierarchy This Package Previous Next Index
Interface javax.naming.Referenceable
- public interface Referenceable
A Reference represents a way of recording address information about
objects which themselves are not directly bound to the naming system.
Such objects can implement the Referenceable interface as a way
for programs that use that object to determine what its Reference is.
For example, when binding a object, if an object implements the
Referenceable interface, getReference() can be invoked on the object to
get its Reference to use for binding.
- See Also:
- bind, getObjectInstance, Reference
-
getReference()
- Retrieves the Reference of this object.
getReference
public abstract Reference getReference() throws NamingException
- Retrieves the Reference of this object.
- Returns:
- The non-null Reference of this object.
- Throws: NamingException
- If a naming exception was encountered
while retrieving the reference.
All Packages Class Hierarchy This Package Previous Next Index