public class ObjStoreBrowser extends java.lang.Object implements ObjStoreBrowserMBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OBJ_STORE_BROWSER_HANDLERS |
| Constructor and Description |
|---|
ObjStoreBrowser() |
ObjStoreBrowser(java.lang.String logDir) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
dump(java.lang.StringBuilder sb) |
UidWrapper |
findUid(java.lang.String uid) |
UidWrapper |
findUid(Uid uid)
See if the given uid has previously been registered as an MBean
|
void |
probe()
See if any new MBeans need to be registered or if any existing MBeans no longer exist
as ObjectStore entries.
|
java.util.List<UidWrapper> |
probe(java.lang.String type,
java.lang.String beantype)
Register new MBeans of the requested type (or unregister ones whose
corresponding ObjectStore entry has been removed)
|
boolean |
setType(java.lang.String osTypeClassName,
java.lang.String beanTypeClassName)
Tell the browser which beans to use for particular Object Store Action type
|
void |
setTypes(java.util.Map<java.lang.String,java.lang.String> types)
Deprecated.
|
void |
start()
Initialise the MBean
|
void |
stop()
Unregister all MBeans representing objects in the ObjectStore
represented by this MBean
|
void |
viewSubordinateAtomicActions(boolean enable) |
public static final java.lang.String OBJ_STORE_BROWSER_HANDLERS
public ObjStoreBrowser()
public ObjStoreBrowser(java.lang.String logDir)
public void start()
public void stop()
@Deprecated public void setTypes(java.util.Map<java.lang.String,java.lang.String> types)
types - the list of ObjectStore types that can be represented
as MBeanspublic boolean setType(java.lang.String osTypeClassName,
java.lang.String beanTypeClassName)
osTypeClassName - beanTypeClassName - public java.lang.StringBuilder dump(java.lang.StringBuilder sb)
public UidWrapper findUid(Uid uid)
uid - the unique id representing an ObjectStore entrypublic UidWrapper findUid(java.lang.String uid)
public void probe()
probe in interface ObjStoreBrowserMBeanpublic void viewSubordinateAtomicActions(boolean enable)
viewSubordinateAtomicActions in interface ObjStoreBrowserMBeanpublic java.util.List<UidWrapper> probe(java.lang.String type, java.lang.String beantype)
type - the ObjectStore entry typebeantype - the class name of the MBean implementation used to represent
the request type