Methods Summary |
---|
public void | ejbActivate()
|
public void | ejbCreate()
this.mejbHelper = MEJBHelper.getMEJBHelper();
|
public void | ejbPassivate()
|
public void | ejbRemove()
|
public java.lang.Object | getAttribute(javax.management.ObjectName name, java.lang.String attribute)Gets the value of a specific attribute of a named MBean. The MBean is identified by its object name.
return this.mejbHelper.getAttribute(name,attribute);
|
public javax.management.AttributeList | getAttributes(javax.management.ObjectName name, java.lang.String[] attributes)Enables the values of several attributes of a named MBean. The MBean is identified by its object name.
return this.mejbHelper.getAttributes(name,attributes);
|
public java.lang.String | getDefaultDomain()Returns the default domain used for naming the managed object.
The default domain name is used as the domain part in the ObjectName
of managed objects if no domain is specified by the user.
return this.mejbHelper.getDefaultDomain();
|
public ListenerRegistration | getListenerRegistry()
return this.mejbHelper.getListenerRegistry();
|
public java.lang.Integer | getMBeanCount()Returns the number of MBeans registered in the MBean server.
try{
return this.mejbHelper.getMBeanCount();
}catch(Exception ex){
throw new RemoteException(this.toString() +"::getMBeanCount", ex);
}
|
public javax.management.MBeanInfo | getMBeanInfo(javax.management.ObjectName name)This method discovers the attributes and operations that an MBean exposes for management.
return this.mejbHelper.getMBeanInfo(name);
|
public java.lang.Object | invoke(javax.management.ObjectName name, java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)Invokes an operation on an MBean.
return this.mejbHelper.invoke(name,operationName,params,signature);
|
public boolean | isRegistered(javax.management.ObjectName name)Checks whether an MBean, identified by its object name, is already registered with the MBean server.
try{
return this.mejbHelper.isRegistered(name);
}catch(Exception ex){
throw new RemoteException(this.toString() +"::isRegistered", ex);
}
|
public java.util.Set | queryNames(javax.management.ObjectName name, javax.management.QueryExp query)Gets the names of managed objects controlled by the MEJB. This method
enables any of the following to be obtained: The names of all managed objects,
the names of a set of managed objects specified by pattern matching on the
ObjectName and/or a Query expression, a specific managed object name (equivalent to
testing whether an managed object is registered). When the object name is
null or no domain and key properties are specified, all objects are selected (and filtered if a
query is specified). It returns the set of ObjectNames for the managed objects selected.
try{
return this.mejbHelper.queryNames(name,query);
}catch(Exception ex){
throw new RemoteException(this.toString() +"::queryNames", ex);
}
|
public void | setAttribute(javax.management.ObjectName name, javax.management.Attribute attribute)Sets the value of a specific attribute of a named MBean. The MBean is identified by its object name.
this.mejbHelper.setAttribute(name,attribute);
|
public javax.management.AttributeList | setAttributes(javax.management.ObjectName name, javax.management.AttributeList attributes)Sets the values of several attributes of a named MBean. The MBean is identified by its object name.
return this.mejbHelper.setAttributes(name,attributes);
|
public void | setSessionContext(SessionContext context)
ctx = context;
|