Class AdministeredObject
- java.lang.Object
-
- org.objectweb.joram.client.jms.admin.AdministeredObject
-
- All Implemented Interfaces:
Serializable,Referenceable
- Direct Known Subclasses:
AbstractConnectionFactory,ClusterConnectionFactory,Destination,User
public abstract class AdministeredObject extends Object implements Serializable, Referenceable
TheAdministeredObjectclass is the parent class of all JORAM administered objects.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static Randomrandprivate static longserialVersionUIDdefine serialVersionUID for interoperability
-
Constructor Summary
Constructors Constructor Description AdministeredObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidfromReference(Reference ref)Restores the administered object from a naming reference.ReferencegetReference()abstract voidtoReference(Reference ref)Sets the naming reference of an administered object.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
rand
protected static Random rand
-
-
Method Detail
-
getReference
public final Reference getReference() throws NamingException
- Specified by:
getReferencein interfaceReferenceable- Throws:
NamingException
-
toReference
public abstract void toReference(Reference ref) throws NamingException
Sets the naming reference of an administered object.- Throws:
NamingException
-
fromReference
public abstract void fromReference(Reference ref) throws NamingException
Restores the administered object from a naming reference.- Throws:
NamingException
-
-