Package org.glassfish.resources.naming
Class SerializableObjectRefAddr
- java.lang.Object
-
- javax.naming.RefAddr
-
- org.glassfish.resources.naming.SerializableObjectRefAddr
-
- All Implemented Interfaces:
Serializable
public class SerializableObjectRefAddr extends RefAddr
- Since:
- 1.3
- Author:
- Qingqing Ouyang
- See Also:
RefAddr
,StringRefAddr
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerializableObjectRefAddr(String addrType, Object contents)
Constructs a new instance of SerializableObjectRefAddr using its address type and contents.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getContent()
Retrieves the contents of this address.
-
-
-
Constructor Detail
-
SerializableObjectRefAddr
public SerializableObjectRefAddr(String addrType, Object contents)
Constructs a new instance of SerializableObjectRefAddr using its address type and contents.- Parameters:
addrType
- A non-null string describing the type of the address.contents
- The possibly null contents of the address in the form of a string.
-
-
Method Detail
-
getContent
public Object getContent()
Retrieves the contents of this address. The result is a string.- Specified by:
getContent
in classRefAddr
- Returns:
- The possibly null address contents.
-
-