| Access | Constructor and Description |
|---|---|
| public < a type parameter that allows the compiler to check
that T>resource implements mbeanInterfaceType,
provided that mbeanInterfaceType is a class constant like
SomeMBean.class. | StandardMBeanSupport(T
the underlying resource for the new MBean. resource, Class<T> the class or interface to be used to determine
the MBean's management interface. An interface if this is a
classic Standard MBean; a class if this is a mbeanInterfaceType)@ManagedResource.Construct a Standard MBean that wraps the given resource using the given Standard MBean interface. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object | getCookie()
Implements abstract com. Return a cookie for this MBean. |
| public MBeanInfo | getMBeanInfo()
Overrides com. Implements javax. Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object. |
| pack-priv MBeanIntrospector | getMBeanIntrospector()
Implements abstract com. Return the appropriate introspector for this type of MBean. |
| public void | register(MBeanServer mbs, ObjectName name)
Implements abstract com.
|
| public void |
| StandardMBeanSupport | back to summary |
|---|---|
| public <T> StandardMBeanSupport(T resource, Class<T> mbeanInterfaceType) throws NotCompliantMBeanException Construct a Standard MBean that wraps the given resource using the given Standard MBean interface.
| |
| getCookie | back to summary |
|---|---|
| pack-priv Object getCookie() Implements abstract com. Doc from com. Return a cookie for this MBean. This cookie will be passed to MBean method invocations where it can supply additional information to the invocation. For example, with MXBeans it can be used to supply the MXBeanLookup context for resolving inter-MXBean references.
| |
| getMBeanInfo | back to summary |
|---|---|
| public MBeanInfo getMBeanInfo() Overrides com. Implements javax. Doc from javax. Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object.
| |
| getMBeanIntrospector | back to summary |
|---|---|
| pack-priv MBeanIntrospector Implements abstract com. Doc from com. Return the appropriate introspector for this type of MBean.
| |
| register | back to summary |
|---|---|
| public void register(MBeanServer mbs, ObjectName name) Implements abstract com.
| |
| unregister | back to summary |
|---|---|
| public void unregister() Implements abstract com.
| |