|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.domain.model.JmxService
public class JmxService
A simple facade used to perform operations on Mbean server.
Field Summary | |
---|---|
(package private) MBeanServer |
_mxServer
|
Constructor Summary | |
---|---|
JmxService()
|
Method Summary | |
---|---|
(package private) ObjectName |
createClassDefinitionSearchName()
Creates an object name that will be used for searching all registered events. |
(package private) ObjectName |
createEntityDefinitionName(String packageName,
String className,
String type)
|
(package private) ObjectName |
createEventSearchName()
Creates an object name that will be used for searching all registered events. |
(package private) Set<ObjectName> |
getEventMBeans()
|
void |
registerEntityDefinition(ObjectName name,
QpidEntity entity,
String packageName,
String className)
|
(package private) ObjectName |
registerEventInstance(QpidEvent.QManManagedEvent eventInstance,
UUID brokerId,
String packageName,
String eventClassName)
Registers an event instance with MBean server. |
(package private) ObjectName |
registerObjectInstance(QpidClass.QManManagedObject instance,
UUID brokerId,
String packageName,
String className,
Binary objectId)
Registers a pre-existing object instance as an MBean with the MBean server. |
void |
registerQManService(QMan qman)
Registers QMan with the MBeanServer. |
void |
unregisterClassDefinitions()
|
(package private) void |
unregisterEvents()
Removes (unregister) all events from MBean Server. |
(package private) ObjectName |
unregisterObjectInstance(UUID brokerId,
String packageName,
String className,
Binary objectId)
Removes / unregisters a managed object instance from the MBean Server. |
(package private) void |
unregisterObjectInstances()
Removes (unregister) all object instances from MBean Server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
MBeanServer _mxServer
Constructor Detail |
---|
public JmxService()
Method Detail |
---|
public void registerQManService(QMan qman) throws MBeanException
qman
- QMan
MBeanException
- when some error occurs during registration.ObjectName registerEventInstance(QpidEvent.QManManagedEvent eventInstance, UUID brokerId, String packageName, String eventClassName)
eventInstance
- the mben event instancebrokerId
- the broker identifier.packageName
- the package name.eventClassName
- the event class name.
ObjectName registerObjectInstance(QpidClass.QManManagedObject instance, UUID brokerId, String packageName, String className, Binary objectId)
instance
- the object instance.brokerId
- the broker identifier.packageName
- the name of the package containing this instance.className
- the name of the owner class of this instance.objectId
- the object instance identifier.
ObjectName unregisterObjectInstance(UUID brokerId, String packageName, String className, Binary objectId)
brokerId
- the broker identifier.packageName
- the name of the package containing this instance.className
- the name of the owner class of this instance.objectId
- the object instance identifier.
void unregisterEvents()
Set<ObjectName> getEventMBeans()
void unregisterObjectInstances()
ObjectName createEventSearchName()
ObjectName createClassDefinitionSearchName()
ObjectName createEntityDefinitionName(String packageName, String className, String type)
public void registerEntityDefinition(ObjectName name, QpidEntity entity, String packageName, String className)
public void unregisterClassDefinitions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |