javax.naming
Class StringRefAddr
java.lang.Object
javax.naming.RefAddr
javax.naming.StringRefAddr
- All Implemented Interfaces:
- Serializable
public class StringRefAddr
- extends RefAddr
RefAddr that uses a String as content.
This can for example be used to address things through URLs.
- Since:
- 1.3
- See Also:
Reference
,
Serialized Form
Constructor Summary |
StringRefAddr(String addrType,
String contents)
Contructs a new StringRefAddr with the given type and content. |
Method Summary |
Object |
getContent()
Returns the String contents as given to the constructor. |
StringRefAddr
public StringRefAddr(String addrType,
String contents)
- Contructs a new StringRefAddr with the given type and content.
getContent
public Object getContent()
- Returns the String contents as given to the constructor.
- Specified by:
getContent
in class RefAddr