Methods Summary |
---|
public final java.util.Set | findNames(java.lang.String keys)
return J2EEModuleUtil.findNames(keys);
|
public final java.lang.String | getJ2EEServer()Accessor method for the parent key
if (serverName != null) {
return serverName;
} else {
return "no-server";
}
|
protected final javax.management.MBeanServer | getMBeanServer()
return mServer;
|
protected final javax.management.j2ee.Management | getMEJB()
Management mejb=null;
try {
Context ic = new InitialContext();
String ejbName = System.getProperty("mejb.name","ejb/mgmt/MEJB");
java.lang.Object objref = ic.lookup(ejbName);
ManagementHome home = (ManagementHome)PortableRemoteObject.narrow(objref, ManagementHome.class);
mejb = home.create();
} catch (Exception ex) {
ex.printStackTrace();
}
return mejb;
|
protected final com.sun.enterprise.management.agent.MEJBUtility | getMEJBUtility()
//FIXME
//return com.sun.enterprise.Switch.getSwitch().getManagementObjectManager().getMEJBUtility();
return MEJBUtility.getMEJBUtility();
|
protected final javax.management.ObjectName | getObjectName()
return mSelfObjectName;
|
public abstract java.lang.String | getj2eeType()The type of the J2EEManagedObject as specified by JSR77. The class that implements a specific type must override this
method and return the appropriate type string.
|
public final java.lang.String | getname()Accessor method for the parent key
return this.name;
|
public final java.lang.String | getobjectName()The name of the J2EEManagedObject. All managed objects must have a unique name within the context of the management
domain. The name must not be null.
return getObjectName().toString();
|
public boolean | iseventProvider()If true, indicates that the managed object provides event notification about events that occur on that object. All
managed objects that support state management are by default event providers. If the stateManageable attribute for this
managed object is true then the eventProvider attribute must also be true.
return eventProvider;
|
public boolean | isstateManageable()If true, indicates that this managed object implements the StateManageable interface and is state manageable. If false,
the managed object does not support state management.
return stateManageable;
|
public final boolean | isstatisticsProvider()If true, indicates that the managed object supports performance statistics and therefore implements the
StatisticsProvider model. If false, the J2EEManagedObject does not support performance statistics
return statisticsProvider;
|
protected final long | now()
return System.currentTimeMillis();
|
public final void | postDeregister()
mServer = null;
mSelfObjectName = null;
|
public void | postRegister(java.lang.Boolean registrationDone)
// nothing to do
|
public final void | preDeregister()
// nothing to do
|
public final javax.management.ObjectName | preRegister(javax.management.MBeanServer server, javax.management.ObjectName nameIn)
assert( nameIn != null );
mServer = server;
mSelfObjectName = nameIn;
// ObjectName could still be modified by subclass, but it then carries
// the responsibility for updating this variable.
return( mSelfObjectName );
|