org.objectweb.joram.client.jms.admin
Class AdministeredObject
java.lang.Object
org.objectweb.joram.client.jms.admin.AdministeredObject
- javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
public abstract class AdministeredObject
extends java.lang.Object
implements java.io.Serializable, javax.naming.Referenceable, SoapObjectItf
The AdministeredObject
class is the parent class of all
JORAM administered objects.
- Serialized Form
protected String | id - Identifier of the object.
|
protected static Hashtable | instancesTable - Class table holding the
AdministeredObject instances.
|
Hashtable | code() - Codes an
AdministeredObject as a Hashtable for travelling
through the SOAP protocol.
|
static Object | getInstance(String name) - Retrieves an instance from the table.
|
Reference | getReference() - Sets the naming reference of an administered object.
|
id
protected String id
Identifier of the object.
instancesTable
protected static Hashtable instancesTable
Class table holding the
AdministeredObject
instances.
Key: object's identifier
Object: object's instance
AdministeredObject
protected AdministeredObject()
Constructs an empty administered object.
AdministeredObject
protected AdministeredObject(String id)
Constructs an administered object.
id
- Identifier of the object.
code
public Hashtable code()
Codes an AdministeredObject
as a Hashtable for travelling
through the SOAP protocol.
- code in interface SoapObjectItf
getInstance
public static Object getInstance(String name)
Retrieves an instance from the table.
getReference
public Reference getReference()
throws NamingException
Sets the naming reference of an administered object.
Copyright B) 2004 Scalagent - All rights reserved