com.arjuna.ats.arjuna.tools.osb.mbean
Class ObjStoreBean

java.lang.Object
  extended by com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBean
      extended by com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean
          extended by com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean
All Implemented Interfaces:
BasicBeanMBean

public class ObjStoreBean
extends ObjStoreTypeBean

MBean representation of an Object Store. An Object Store contains a type hierarchy for storing different kinds of record. The hierarchy is reflected in the set of keys of the corresponding MBeans, ie a containing type will have a set of keys that are a strict superset of each of the types further up the hierarchy.

See Also:
ObjectStore

Field Summary
 
Fields inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean
registeredBeans
 
Fields inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBean
errorMessages, marked, parent
 
Constructor Summary
ObjStoreBean()
           
ObjStoreBean(int id, java.lang.String storeLocation)
           
 
Method Summary
 void allTypes(ObjStoreTypeBean parent, java.lang.String storeName, java.util.Collection<ObjStoreTypeBean> names)
           
 java.lang.String getObjectName()
           
 ObjectStore getObjectStore(java.lang.String storeDir, java.lang.String storeName)
           
static ObjStoreTypeBean getObjectStoreBrowserBean()
           
static ObjStoreTypeBean getObjectStoreBrowserBean(int id, java.lang.String storeDir)
           
 ObjectStore getStore()
           
static void main(java.lang.String[] args)
           
 javax.management.ObjectInstance register()
           
 boolean unregister()
           
 
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean
refresh, toObjectName, unregisterDependents
 
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBean
addError, clearErrors, equals, getDescription, getMessages, getParent, getType, hashCode, isMarked, mark, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjStoreBean

public ObjStoreBean()

ObjStoreBean

public ObjStoreBean(int id,
                    java.lang.String storeLocation)
Method Detail

getObjectStoreBrowserBean

public static ObjStoreTypeBean getObjectStoreBrowserBean()
                                                  throws javax.management.OperationsException,
                                                         javax.management.MBeanException,
                                                         java.lang.InterruptedException,
                                                         java.io.IOException
Throws:
javax.management.OperationsException
javax.management.MBeanException
java.lang.InterruptedException
java.io.IOException

getObjectStoreBrowserBean

public static ObjStoreTypeBean getObjectStoreBrowserBean(int id,
                                                         java.lang.String storeDir)
                                                  throws javax.management.OperationsException,
                                                         javax.management.MBeanException,
                                                         java.lang.InterruptedException,
                                                         java.io.IOException
Throws:
javax.management.OperationsException
javax.management.MBeanException
java.lang.InterruptedException
java.io.IOException

getObjectName

public java.lang.String getObjectName()
Overrides:
getObjectName in class ObjStoreTypeBean

getStore

public ObjectStore getStore()
Overrides:
getStore in class ObjStoreTypeBean

register

public javax.management.ObjectInstance register()
Overrides:
register in class ObjStoreTypeBean

unregister

public boolean unregister()
Overrides:
unregister in class ObjStoreTypeBean

getObjectStore

public ObjectStore getObjectStore(java.lang.String storeDir,
                                  java.lang.String storeName)

allTypes

public void allTypes(ObjStoreTypeBean parent,
                     java.lang.String storeName,
                     java.util.Collection<ObjStoreTypeBean> names)

main

public static void main(java.lang.String[] args)
                 throws javax.management.OperationsException,
                        javax.management.MBeanException,
                        java.lang.InterruptedException,
                        java.io.IOException
Throws:
javax.management.OperationsException
javax.management.MBeanException
java.lang.InterruptedException
java.io.IOException