com.ibm.di.api.jmx.mbeans
Class BaseAdmin

java.lang.Object
  extended by com.ibm.di.api.jmx.mbeans.BaseAdmin
All Implemented Interfaces:
BaseAdminMBean, BaseMBean
Direct Known Subclasses:
AssemblyLine, AssemblyLineHandler, ConfigInstance, DIServer, SecurityRegistry, ServerInfo, SystemLog, SystemQueue, TDIProperties, TombstoneManager

public abstract class BaseAdmin
extends Object
implements BaseAdminMBean

This class implements BaseAdminMBean and is extended by most of the implementing classes from the management package.


Constructor Summary
BaseAdmin()
           
 
Method Summary
protected  String getCurrentUserId()
          Retrieves the ID of the current user.
 String getKeyPropertyList()
          Returns the MBean key property list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.di.api.jmx.mbeans.BaseMBean
getId, getType
 

Constructor Detail

BaseAdmin

public BaseAdmin()
Method Detail

getKeyPropertyList

public String getKeyPropertyList()
                          throws DIException
Returns the MBean key property list. If the MBean type is AssemblyLine and the id is Hello, the result of this method would be "type=AssemblyLine,id=Hello"

Returns:
string representing the MBean attributes.
Throws:
DIException - if an error occurs while obtaining MBean's type.

getCurrentUserId

protected String getCurrentUserId()
Retrieves the ID of the current user.

Returns:
current user ID.