org.objectweb.joram.client.jms.admin
Class AdministeredObject

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
All Implemented Interfaces:
javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
Direct Known Subclasses:
ConnectionFactory, Destination, User, XAConnectionFactory

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.

See Also:
Serialized Form

Field Summary
protected  java.lang.String id
          Identifier of the object.
protected static java.util.Hashtable instancesTable
          Class table holding the AdministeredObject instances.
 
Constructor Summary
protected AdministeredObject()
          Constructs an empty administered object.
protected AdministeredObject(java.lang.String id)
          Constructs an administered object.
 
Method Summary
 java.util.Hashtable code()
          Codes an AdministeredObject as a Hashtable for travelling through the SOAP protocol.
static java.lang.Object getInstance(java.lang.String name)
          Retrieves an instance from the table.
 javax.naming.Reference getReference()
          Sets the naming reference of an administered object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.dyade.aaa.jndi2.soap.SoapObjectItf
decode
 

Field Detail

instancesTable

protected static java.util.Hashtable instancesTable
Class table holding the AdministeredObject instances.

Key: object's identifier
Object: object's instance


id

protected java.lang.String id
Identifier of the object.

Constructor Detail

AdministeredObject

protected AdministeredObject(java.lang.String id)
Constructs an administered object.

Parameters:
id - Identifier of the object.

AdministeredObject

protected AdministeredObject()
Constructs an empty administered object.

Method Detail

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Sets the naming reference of an administered object.

Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException

getInstance

public static java.lang.Object getInstance(java.lang.String name)
Retrieves an instance from the table.


code

public java.util.Hashtable code()
Codes an AdministeredObject as a Hashtable for travelling through the SOAP protocol.

Specified by:
code in interface SoapObjectItf


Copyright ? 2004 Scalagent - All rights reserved