|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.module.management.support.JmxRegistrationContext
public class JmxRegistrationContext
Stores JMX info pertinent to the currently intialising Mule manager with JMX management enabled. The info is being kept for the duration of Mule server life, and cleared on manager disposal.
The main reason for that class is that JmxAgent prepares only the JMX foundation, while the agents following it may require some contextual information about Mule's JMX, such as a currently resolved Mule domain name (if non-clashing JMX domains support is enabled, which is by default). Otherwise, they are left unaware of the previous work, and a random number of JMX domains might be created for Mule.
Method Summary | |
---|---|
static JmxRegistrationContext |
getCurrent(MuleContext context)
Get current context or create one if none exist for the current startup cycle. |
String |
getResolvedDomain()
Getter for property 'resolvedDomain'. |
void |
setResolvedDomain(String resolvedDomain)
Setter for property 'resolvedDomain'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JmxRegistrationContext getCurrent(MuleContext context)
public String getResolvedDomain()
public void setResolvedDomain(String resolvedDomain)
resolvedDomain
- Value to set for property 'resolvedDomain'.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |