All Packages Class Hierarchy This Package Previous Next Index
Class java.naming.StringRefAddr
java.lang.Object
|
+----java.naming.RefAddr
|
+----java.naming.StringRefAddr
- public class StringRefAddr
- extends RefAddr
The StringRefAddr class represents a communications end-point.
It consists of a type that describes the communication mechanism
and a string contents specific to that communication mechanism.
- See Also:
- RefAddr, BinaryRefAddr
-
contents
-
-
StringRefAddr(String, String)
- Constructs a new instance of StringRefAddr using its address type
and contents.
-
getAddressContents()
- Retrieves the contents of this address.
-
getAddressString()
- Retrieves the contents of this address as a string.
contents
protected String contents
StringRefAddr
public StringRefAddr(String addrType,
String addr)
- Constructs a new instance of StringRefAddr using its address type
and contents.
- Parameters:
- addrType - A string describing the type of the address.
- addr - The contents of the address in the form of a string.
getAddressString
public String getAddressString()
- Retrieves the contents of this address as a string.
- Returns:
- The address contents as a string.
getAddressContents
public Object getAddressContents()
- Retrieves the contents of this address.
- Returns:
- The address contents.
- Overrides:
- getAddressContents in class RefAddr
All Packages Class Hierarchy This Package Previous Next Index