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

java.lang.Object
  extended by com.arjuna.ats.arjuna.tools.osb.mbean.UidWrapper

public class UidWrapper
extends Object

Base class MBean implementation wrapper for MBeans corresponding to a Uid


Constructor Summary
UidWrapper(ObjStoreBrowser browser, String beantype, String ostype, String className, Uid uid)
           
UidWrapper(Uid uid)
           
 
Method Summary
 OSEntryBean createMBean()
          Construct an MBean to represent this ObjectStore record.
 boolean equals(Object o)
           
 String getClassName()
           
 OSEntryBean getMBean()
           
 String getName()
           
 long getTimestamp()
          The timestamp represent the time (in milliseconds) when the bean was registered.
 String getType()
           
 Uid getUid()
           
 int hashCode()
           
 void probe()
          Refresh the management view of the whole ObjectStore
 List<UidWrapper> probe(String type, String beantype)
           
 void setTimestamp(long tstamp)
           
 String toString()
           
 StringBuilder toString(String prefix, StringBuilder sb)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UidWrapper

public UidWrapper(Uid uid)

UidWrapper

public UidWrapper(ObjStoreBrowser browser,
                  String beantype,
                  String ostype,
                  String className,
                  Uid uid)
Method Detail

getMBean

public OSEntryBean getMBean()

probe

public void probe()
Refresh the management view of the whole ObjectStore


getType

public String getType()

getName

public String getName()

getClassName

public String getClassName()

getTimestamp

public long getTimestamp()
The timestamp represent the time (in milliseconds) when the bean was registered. It is used for deciding when a bean needs unregistering.

Returns:

setTimestamp

public void setTimestamp(long tstamp)

getUid

public Uid getUid()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(String prefix,
                              StringBuilder sb)

probe

public List<UidWrapper> probe(String type,
                              String beantype)

createMBean

public OSEntryBean createMBean()
Construct an MBean to represent this ObjectStore record. The bean type used for construct the MBean is provided in the configuration of the @see ObjStoreBrowser

Returns:


Copyright © 2012. All Rights Reserved.