|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.gov.frameworkdemoiselle.internal.configuration.JMXConfig
public class JMXConfig
Contains configuration parameters to control how Managed classes are exposed to the MBean server.
To use this class, inject it into your code using the Inject annotation.
ex:
public class BusinessClass(){
//...
&at;Inject
private JMXConfig jmxConfiguration;
//...
}
| Constructor Summary | |
|---|---|
JMXConfig()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getMbeanDomain()
The domain to register all ManagementController classes found during boot. |
java.lang.String |
getNotificationDomain()
The domain to register the NotificationBroadcaster MBean. |
java.lang.String |
getNotificationMBeanName()
The name the NotificationBroadcaster MBean will be registered to. |
void |
setMbeanDomain(java.lang.String mbeanDomain)
|
void |
setNotificationDomain(java.lang.String notificationDomain)
|
void |
setNotificationMBeanName(java.lang.String notificationMBeanName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXConfig()
| Method Detail |
|---|
public java.lang.String getMbeanDomain()
ManagementController classes found during boot.
The full name of a MBean has the format of domain:name=MBeanName (ex: br.gov.frameworkdemoiselle.jmx:name=NotificationBroadcaster), this
parameter is the "domain" portion of the full name.
The default is null and when is set to null, all Managed classes will use it's own package as the domain.
public void setMbeanDomain(java.lang.String mbeanDomain)
getMbeanDomain()public java.lang.String getNotificationMBeanName()
The name the NotificationBroadcaster MBean will be registered to. The full name
of a MBean has the format of domain:name=MBeanName (ex: br.gov.frameworkdemoiselle.jmx:name=NotificationBroadcaster), this
parameter is the ":name=MBeanName" portion without the ":name=".
The default is the value returned by Class.getSimpleName() when called from the NotificationBroadcaster class.
getMbeanDomain()public void setNotificationMBeanName(java.lang.String notificationMBeanName)
getNotificationMBeanName()public java.lang.String getNotificationDomain()
NotificationBroadcaster MBean.
The full name of a MBean has the format of domain:name=MBeanName (ex: br.gov.frameworkdemoiselle.jmx:name=NotificationBroadcaster), this
parameter is the "domain" portion of the full name.
The default is br.gov.frameworkdemoiselle.jmx.
public void setNotificationDomain(java.lang.String notificationDomain)
getNotificationDomain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||