Uses of Class
javax.management.MBeanException
-
Packages that use MBeanException 软件包 描述 javax.management 提供Java Management Extensions的核心类。javax.management.modelmbean 提供ModelMBean类的定义。javax.management.remote.rmi RMI连接器是JMX Remote API的连接器,它使用RMI将客户端请求传输到远程MBean服务器。 -
-
Uses of MBeanException in javax.management
Subclasses of MBeanException in javax.management 变量和类型 类 描述 class
MBeanRegistrationException
包装MBeanRegistration
接口的preRegister(),preDeregister()方法抛出的异常。Methods in javax.management that throw MBeanException 变量和类型 方法 描述 ObjectInstance
MBeanServer. createMBean(String className, ObjectName name)
在MBean服务器中实例化并注册MBean。ObjectInstance
MBeanServer. createMBean(String className, ObjectName name, Object[] params, String[] signature)
在MBean服务器中实例化并注册MBean。ObjectInstance
MBeanServer. createMBean(String className, ObjectName name, ObjectName loaderName)
在MBean服务器中实例化并注册MBean。ObjectInstance
MBeanServer. createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
在MBean服务器中实例化并注册MBean。ObjectInstance
MBeanServerConnection. createMBean(String className, ObjectName name)
在MBean服务器中实例化并注册MBean。ObjectInstance
MBeanServerConnection. createMBean(String className, ObjectName name, Object[] params, String[] signature)
在MBean服务器中实例化并注册MBean。ObjectInstance
MBeanServerConnection. createMBean(String className, ObjectName name, ObjectName loaderName)
在MBean服务器中实例化并注册MBean。ObjectInstance
MBeanServerConnection. createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
在MBean服务器中实例化并注册MBean。Object
DynamicMBean. getAttribute(String attribute)
获取Dynamic MBean的特定属性的值。Object
MBeanServer. getAttribute(ObjectName name, String attribute)
Object
MBeanServerConnection. getAttribute(ObjectName name, String attribute)
获取指定MBean的特定属性的值。Object
MBeanServer. instantiate(String className)
使用MBean服务器Class Loader Repository
中注册的所有类加载器的列表实例化对象。Object
MBeanServer. instantiate(String className, Object[] params, String[] signature)
使用在MBean服务器Class Loader Repository
中注册的所有类加载器的列表来实例化对象。Object
MBeanServer. instantiate(String className, ObjectName loaderName)
使用由其ObjectName
指定的类Loader实例化对象。Object
MBeanServer. instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
实例化一个对象。Object
DynamicMBean. invoke(String actionName, Object[] params, String[] signature)
允许在Dynamic MBean上调用操作。Object
MBeanServerConnection. invoke(ObjectName name, String operationName, Object[] params, String[] signature)
在MBean上调用操作。void
PersistentMBean. load()
使用在持久性存储中为MBean找到的数据实例化thisMBean实例。void
DynamicMBean. setAttribute(Attribute attribute)
设置Dynamic MBean的特定属性的值。void
MBeanServer. setAttribute(ObjectName name, Attribute attribute)
void
MBeanServerConnection. setAttribute(ObjectName name, Attribute attribute)
设置指定MBean的特定属性的值。void
PersistentMBean. store()
捕获此MBean实例的当前状态并将其写入持久性存储。 -
Uses of MBeanException in javax.management.modelmbean
Methods in javax.management.modelmbean that throw MBeanException 变量和类型 方法 描述 void
ModelMBeanNotificationBroadcaster. addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)
将实现NotificationListener接口的对象注册为侦听器。ModelMBeanAttributeInfo
ModelMBeanInfo. getAttribute(String inName)
返回按名称请求的ModelMBeanAttributeInfo。Object
RequiredModelMBean. getAttribute(String attrName)
返回为此ModelMBean定义的特定属性的值。ModelMBeanConstructorInfo
ModelMBeanInfoSupport. getConstructor(String inName)
返回按名称请求的ModelMBeanConstructorInfo。Descriptor
ModelMBeanInfo. getDescriptor(String inDescriptorName, String inDescriptorType)
返回name和descriptorType请求的描述符。Descriptor
ModelMBeanInfoSupport. getDescriptor(String inDescriptorName)
返回按名称请求的描述符。Descriptor[]
ModelMBeanInfo. getDescriptors(String inDescriptorType)
返回一个描述符数组,该数组包含inDescriptorType类型的ModelMBeanInfo的所有描述符。Descriptor
ModelMBeanInfo. getMBeanDescriptor()
返回ModelMBean的描述符,该描述符包含MBean范围的策略。ModelMBeanNotificationInfo
ModelMBeanInfo. getNotification(String inName)
返回按名称请求的ModelMBeanNotificationInfo。ModelMBeanOperationInfo
ModelMBeanInfo. getOperation(String inName)
返回按名称请求的ModelMBeanOperationInfo。Object
RequiredModelMBean. invoke(String opName, Object[] opArgs, String[] sig)
在RequiredModelMBean上或通过RequiredModelMBean调用方法,并返回方法执行的结果。void
RequiredModelMBean. load()
使用为持久性存储中的MBean找到的数据实例化此MBean实例。void
ModelMBeanNotificationBroadcaster. removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)
从RequiredModelMBean中删除attributeChangeNotifications的侦听器。void
ModelMBeanNotificationBroadcaster. sendAttributeChangeNotification(AttributeChangeNotification notification)
发送一个attributeChangeNotification,该属性传递给ModelMBean上已注册的attributeChangeNotification侦听器。void
ModelMBeanNotificationBroadcaster. sendAttributeChangeNotification(Attribute oldValue, Attribute newValue)
将包含属性的旧值和新值的attributeChangeNotification发送到ModelMBean上已注册的AttributeChangeNotification侦听器。void
ModelMBeanNotificationBroadcaster. sendNotification(String ntfyText)
发送一个Notification,其中包含传递给ModelMBean上已注册的Notification侦听器的文本字符串。void
ModelMBeanNotificationBroadcaster. sendNotification(Notification ntfyObj)
发送通知,该通知作为jmx.modelmbean.generic通知传递给ModelMBean上已注册的通知侦听器。void
RequiredModelMBean. setAttribute(Attribute attribute)
设置命名ModelMBean的特定属性的值。void
ModelMBeanInfo. setDescriptor(Descriptor inDescriptor, String inDescriptorType)
在ModelMBean的inDescriptorType类型的info数组中设置描述符。void
ModelMBeanInfo. setDescriptors(Descriptor[] inDescriptors)
在ModelMBeanInfo中添加或替换描述符。void
ModelMBean. setManagedResource(Object mr, String mr_type)
设置对象的实例句柄,以便在此ModelMBean管理接口(MBeanInfo和Descriptors)中执行所有方法。void
RequiredModelMBean. setManagedResource(Object mr, String mr_type)
设置对象的实例句柄,以便在此ModelMBean管理接口(MBeanInfo和Descriptors)中执行所有方法。void
ModelMBeanInfo. setMBeanDescriptor(Descriptor inDescriptor)
设置ModelMBean的描述符。void
ModelMBean. setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)
使用传入的ModelMBeanInfo初始化ModelMBean对象。void
RequiredModelMBean. setModelMBeanInfo(ModelMBeanInfo mbi)
使用传入的ModelMBeanInfo初始化ModelMBean对象。void
RequiredModelMBean. store()
捕获此MBean实例的当前状态并将其写入持久性存储。Constructors in javax.management.modelmbean that throw MBeanException 构造器 描述 DescriptorSupport(int initNumFields)
描述符构造函数。DescriptorSupport(String inStr)
采用XML字符串的描述符构造函数。RequiredModelMBean()
使用空的ModelMBeanInfo构造一个RequiredModelMBean
。RequiredModelMBean(ModelMBeanInfo mbi)
使用传入的ModelMBeanInfo构造一个RequiredModelMBean对象。 -
Uses of MBeanException in javax.management.remote.rmi
Methods in javax.management.remote.rmi that throw MBeanException 变量和类型 方法 描述 ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)
ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)
ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)
ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, Subject delegationSubject)
Object
RMIConnection. getAttribute(ObjectName name, String attribute, Subject delegationSubject)
Object
RMIConnection. invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)
void
RMIConnection. setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)
Handles the methodMBeanServerConnection.setAttribute(ObjectName, Attribute)
.
-