Class SerializableObjectRefAddr
- java.lang.Object
-
- javax.naming.RefAddr
-
- org.apache.activemq.artemis.ra.referenceable.SerializableObjectRefAddr
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SerializableObjectRefAddr
public class SerializableObjectRefAddr extends javax.naming.RefAddrA 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(java.lang.String type, java.lang.Object content)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Objectdeserialize(byte[] bytes)java.lang.ObjectgetContent()
-
-
-
Method Detail
-
getContent
public java.lang.Object getContent()
- Specified by:
getContentin classjavax.naming.RefAddr
-
deserialize
public static java.lang.Object deserialize(byte[] bytes) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
-