Class SerializableObjectRefAddr
- java.lang.Object
-
- javax.naming.RefAddr
-
- org.apache.activemq.artemis.ra.referenceable.SerializableObjectRefAddr
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SerializableObjectRefAddr
public class SerializableObjectRefAddr extends RefAddr
A SerializableObjectRefAddr. A RefAddr that can be used for any serializable object. Basically the address is the serialized form of the object as a byte[]- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerializableObjectRefAddr(String type, Object content)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectdeserialize(byte[] bytes)ObjectgetContent()
-
-
-
Constructor Detail
-
SerializableObjectRefAddr
public SerializableObjectRefAddr(String type, Object content) throws NamingException
- Throws:
NamingException
-
-
Method Detail
-
getContent
public Object getContent()
- Specified by:
getContentin classRefAddr
-
deserialize
public static Object deserialize(byte[] bytes) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
-