org.qi4j.library.jmx
Class ModelMBeanBuilder
java.lang.Object
org.qi4j.library.jmx.ModelMBeanBuilder
public class ModelMBeanBuilder
- extends Object
Helper builder for ModelMBeans
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelMBeanBuilder
public ModelMBeanBuilder(ObjectName objectName,
String displayName,
String className)
attribute
public ModelMBeanBuilder attribute(String name,
String displayName,
String type,
String description,
String getMethod,
String setMethod)
getAttribute
public ModelMBeanAttributeInfo getAttribute(String name)
operation
public ModelMBeanBuilder operation(String name,
String description,
String returnType,
int impact,
MBeanParameterInfo... parameters)
newModelMBean
public RequiredModelMBean newModelMBean()
throws MBeanException
- Throws:
MBeanException