Class SerializableObjectRefAddr

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SerializableObjectRefAddr

    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[]
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.naming.RefAddr

        addrType
    • 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.Object deserialize​(byte[] bytes)  
      java.lang.Object getContent()  
      • 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
    • Constructor Detail

      • SerializableObjectRefAddr

        public SerializableObjectRefAddr​(java.lang.String type,
                                         java.lang.Object content)
                                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
    • Method Detail

      • 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