Interface 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 an object, if an object implements the Referenceable interface, getReference() can be invoked on the object to get its Reference to use for binding.
Method Summary
Modifier and Type | Method | Description |
---|---|---|
Reference |
getReference() |
Retrieves the Reference of this object. |
Method Details
getReference
Reference getReference() throws NamingException
- Returns:
- The non-null Reference of this object.
- Throws:
-
NamingException
- If a naming exception was encountered while retrieving the reference.
© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/java.naming/javax/naming/Referenceable.html