com.arjuna.ats.arjuna.tools.osb.mbean
Class ObjStoreBean
java.lang.Object
com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBean
com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreTypeBean
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
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 |
ObjStoreBean
public ObjStoreBean()
ObjStoreBean
public ObjStoreBean(int id,
java.lang.String storeLocation)
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