org.jboss.jms.referenceable
Class SerializableObjectRefAddr
java.lang.Object
javax.naming.RefAddr
org.jboss.jms.referenceable.SerializableObjectRefAddr
- All Implemented Interfaces:
- java.io.Serializable
public class SerializableObjectRefAddr
- extends javax.naming.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[]
- Version:
- $Revision: 951 $
$Id: SerializableObjectRefAddr.java 951 2006-05-17 13:33:58Z timfox $
- Author:
- Tim Fox
- See Also:
- Serialized Form
Fields inherited from class javax.naming.RefAddr |
addrType |
Methods inherited from class javax.naming.RefAddr |
equals, getType, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SerializableObjectRefAddr
public SerializableObjectRefAddr(java.lang.String type,
java.lang.Object content)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getContent
public java.lang.Object getContent()
- Specified by:
getContent
in class javax.naming.RefAddr
deserialize
public static java.lang.Object deserialize(byte[] bytes)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2006 JBoss Inc. All Rights Reserved.