|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A simple interface for MBean manipulation on the Fractal JMX agent side. This interface allows an agent component implementing this interface to register MBeans in its scope, where:
monitors
for observing component attributes.
For example, in the architecture depicted below, where an agent is added to the composite B:
Naming convention:
In JMX, an ObjectName
represents a reference
to an MBean in the agent.
It is unique within an MBeanServer
and consists
of two parts: the domain name and an unordered list of propert-value pairs.
The string representation of an object name must follow the following syntax:
[DomainName]:property=value[,property=value]*In Fractal JMX, the object name of an MBean representing a component server interface uses this syntax as follows:
FC/[path]component@id[shared]:itf=interfacewhere:
NameController
.
InterfaceType
.
FC/A/B/C/D@56e32:itf=Iwhere @56e32 is the unique identifier of component D. This identifier is generated by the agent and can be ignored.
This naming convention:
NameController
and to avoid (in component or interface names) characters interpreted in specific ways by
ObjectName
(e.g. ":", "*", "&"...).
agent attributes
to filter the relevant MBeans.
Only the MBeans, whose
ObjectName
matches a pattern defined by these attributes, are registered in the agent.
These MBeans represent either component server interfaces or monitors for observing component attributes.
In the latter case, the naming convention used by the agent attributes considers some additional property-value pairs
reserved for the configuration of JMX monitors.
Method Summary | |
void |
expose()
Registers MBeans in the agent. |
Method Detail |
public void expose() throws JMException
monitors
for observing component attributes.
This method:
filter attributes
of the agent.
JMException
- if a problem occurs during the MBean registration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |