
org.sapia.ubik.jmx.MBeanContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sapia_ubik Show documentation
Show all versions of sapia_ubik Show documentation
A RMI-like distributed computing framework
The newest version!
package org.sapia.ubik.jmx;
import javax.management.ObjectName;
/**
* Holds a MBean and its {@link ObjectName}
*
* @author yduchesne
*
*/
public class MBeanContainer {
private ObjectName _name;
private Object _mbean;
public MBeanContainer(ObjectName name, Object mbean){
_name = name;
_mbean = mbean;
}
/**
* @return the {@link ObjectName} of the MBean that his held
* in this instance.
*/
public ObjectName getName(){
return _name;
}
/**
* @return a JMX Bean.
*/
public Object getMBean(){
return _mbean;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy