org.jboss.mx.server.registry
Class MbeanInfoDb

java.lang.Object
  extended byorg.jboss.mx.server.registry.MbeanInfoDb

public class MbeanInfoDb
extends java.lang.Object

In-Memory database of MBeanInfo objects. This is primarily used to store and load MBean info objects (and therefore, MBeans) through the persistence manager attached to this object. The MBean Registry delegates to this class the work of MBean Info persistence. This class further delegates that task to it's persistence manager. This allows MBeanInfo persistence to be managed as part of the invocation stack via the Persistence Interceptor.


Field Summary
protected  java.util.Vector fMbInfosToStore
           
 
Constructor Summary
MbeanInfoDb()
           
 
Method Summary
 void add(ObjectName (src)  nameOfMbean)
           
 void add(java.util.Vector namesOfMbeans)
           
protected  java.util.Vector mbInfosToStore()
          ObjectName objects bound to MBean Info objects that are waiting to be stored in the persistence store.
 java.util.Enumeration mbiPersistenceQueue()
           
 void removeFromMbiQueue(ObjectName (src)  name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fMbInfosToStore

protected java.util.Vector fMbInfosToStore
Constructor Detail

MbeanInfoDb

public MbeanInfoDb()
Method Detail

add

public void add(ObjectName (src)  nameOfMbean)

add

public void add(java.util.Vector namesOfMbeans)

mbInfosToStore

protected java.util.Vector mbInfosToStore()
ObjectName objects bound to MBean Info objects that are waiting to be stored in the persistence store.


mbiPersistenceQueue

public java.util.Enumeration mbiPersistenceQueue()

removeFromMbiQueue

public void removeFromMbiQueue(ObjectName (src)  name)