|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBrowser
public class ObjStoreBrowser
An MBean implementation for walking an ObjectStore and creating/deleting MBeans that represent completing transactions (ie ones on which the user has called commit)
Field Summary | |
---|---|
static String |
OBJ_STORE_BROWSER_HANDLERS
|
Constructor Summary | |
---|---|
ObjStoreBrowser()
|
|
ObjStoreBrowser(String logDir)
|
Method Summary | |
---|---|
StringBuilder |
dump(StringBuilder sb)
|
UidWrapper |
findUid(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. |
List<UidWrapper> |
probe(String type,
String beantype)
Register new MBeans of the requested type (or unregister ones whose corresponding ObjectStore entry has been removed) |
void |
setExposeAllRecordsAsMBeans(boolean exposeAllLogs)
|
boolean |
setType(String osTypeClassName,
String beanTypeClassName)
Tell the browser which beans to use for particular Object Store Action type |
void |
setTypes(Map<String,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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OBJ_STORE_BROWSER_HANDLERS
Constructor Detail |
---|
public ObjStoreBrowser()
public ObjStoreBrowser(String logDir)
Method Detail |
---|
public void start()
public void stop()
@Deprecated public void setTypes(Map<String,String> types)
types
- the list of ObjectStore types that can be represented
as MBeanspublic boolean setType(String osTypeClassName, String beanTypeClassName)
osTypeClassName
- beanTypeClassName
-
public StringBuilder dump(StringBuilder sb)
public UidWrapper findUid(Uid uid)
uid
- the unique id representing an ObjectStore entry
public UidWrapper findUid(String uid)
public void probe()
probe
in interface ObjStoreBrowserMBean
public void viewSubordinateAtomicActions(boolean enable)
viewSubordinateAtomicActions
in interface ObjStoreBrowserMBean
public void setExposeAllRecordsAsMBeans(boolean exposeAllLogs)
setExposeAllRecordsAsMBeans
in interface ObjStoreBrowserMBean
public List<UidWrapper> probe(String type, String beantype)
type
- the ObjectStore entry typebeantype
- the class name of the MBean implementation used to represent
the request type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |