Internal configuration information for a managed bean (MBean) descriptor.
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private static final String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| private transient volatile MBeanInfo | info
The |
| private final ReadWriteLock | |
| protected String | |
| pack-priv static final Class | |
| private NotificationInfo[] | |
| private Map | |
| private static final long | |
| private static final StringManager | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAttribute(AttributeInfo
The new attribute descriptor attribute)Add a new attribute to the set of attributes for this MBean. |
| public void | addNotification(NotificationInfo
The new notification descriptor notification)Add a new notification to the set of notifications for this MBean. |
| public void | addOperation(OperationInfo
The new operation descriptor operation)Add a new operation to the set of operations for this MBean. |
| public DynamicMBean | Returns: the MBeanInstanced of the managed object, or instance)null
for no associated instanceCreate and return a |
| private String | |
| private String | |
| public AttributeInfo[] | |
| public String | Returns: the class nameThe fully qualified name of the Java class of the MBean described by this descriptor. |
| public String | |
| public String | Returns: the (optional)ObjectName domain in which
this MBean should be registered in the MBeanServer.
|
| pack-priv Method | |
| public String | |
| public Method | |
| pack-priv MBeanInfo | Returns: the MBean infoCreate and return a |
| public String | Returns: the name of this managed bean, which must be unique among all MBeans managed by a particular MBeans server.
|
| public NotificationInfo[] | |
| public OperationInfo[] | |
| public Method | |
| public String | Returns: the fully qualified name of the Java class of the resource implementation class described by the managed bean described by this descriptor.
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| attributes | back to summary |
|---|---|
| private Map<String, AttributeInfo> attributes | |
| BASE_MBEAN | back to summary |
|---|---|
| private static final String BASE_MBEAN | |
| className | back to summary |
|---|---|
| protected String className | |
| description | back to summary |
|---|---|
| protected String description | |
| domain | back to summary |
|---|---|
| protected String domain | |
| group | back to summary |
|---|---|
| protected String group | |
| info | back to summary |
|---|---|
| private transient volatile MBeanInfo info The | |
| mBeanInfoLock | back to summary |
|---|---|
| private final ReadWriteLock mBeanInfoLock | |
| name | back to summary |
|---|---|
| protected String name | |
| NO_ARGS_PARAM_SIG | back to summary |
|---|---|
| pack-priv static final Class<?>[] NO_ARGS_PARAM_SIG | |
| notifications | back to summary |
|---|---|
| private NotificationInfo[] notifications | |
| operations | back to summary |
|---|---|
| private Map<String, OperationInfo> operations | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| type | back to summary |
|---|---|
| protected String type | |
| ManagedBean | back to summary |
|---|---|
| public ManagedBean() Constructor. Will add default attributes. | |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(AttributeInfo attribute) Add a new attribute to the set of attributes for this MBean.
| |
| addNotification | back to summary |
|---|---|
| public void addNotification(NotificationInfo notification) Add a new notification to the set of notifications for this MBean.
| |
| addOperation | back to summary |
|---|---|
| public void addOperation(OperationInfo operation) Add a new operation to the set of operations for this MBean.
| |
| createMBean | back to summary |
|---|---|
| public DynamicMBean createMBean(Object instance) throws InstanceNotFoundException, MBeanException, RuntimeOperationsException Create and return a
| |
| createOperationKey | back to summary |
|---|---|
| private String createOperationKey(OperationInfo operation) | |
| createOperationKey | back to summary |
|---|---|
| private String createOperationKey(String methodName, String[] parameterTypes) | |
| getAttributes | back to summary |
|---|---|
public AttributeInfo[] getAttributes()
| |
| getClassName | back to summary |
|---|---|
| public String getClassName() The fully qualified name of the Java class of the MBean
described by this descriptor. If not specified, the standard JMX
class (
| |
| getDescription | back to summary |
|---|---|
public String getDescription()
| |
| getDomain | back to summary |
|---|---|
public String getDomain()
| |
| getGetter | back to summary |
|---|---|
| pack-priv Method getGetter(String aname, BaseModelMBean mbean, Object resource) throws AttributeNotFoundException, ReflectionException | |
| getGroup | back to summary |
|---|---|
public String getGroup()
| |
| getInvoke | back to summary |
|---|---|
| public Method getInvoke(String aname, Object[] params, String[] signature, BaseModelMBean bean, Object resource) throws MBeanException, ReflectionException | |
| getMBeanInfo | back to summary |
|---|---|
| pack-priv MBeanInfo getMBeanInfo() Create and return a
| |
| getName | back to summary |
|---|---|
public String getName()
| |
| getNotifications | back to summary |
|---|---|
public NotificationInfo[] getNotifications()
| |
| getOperations | back to summary |
|---|---|
public OperationInfo[] getOperations()
| |
| getSetter | back to summary |
|---|---|
| public Method getSetter(String aname, BaseModelMBean bean, Object resource) throws AttributeNotFoundException, ReflectionException | |
| getType | back to summary |
|---|---|
public String getType()
| |
| setClassName | back to summary |
|---|---|
| public void setClassName(String className) | |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) | |
| setDomain | back to summary |
|---|---|
| public void setDomain(String domain) | |
| setGroup | back to summary |
|---|---|
| public void setGroup(String group) | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| setType | back to summary |
|---|---|
| public void setType(String type) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a string representation of this managed bean.
| |