Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.module.management.support
Class JmxRegistrationContext

    java.lang.Object
      org.mule.module.management.support.JmxRegistrationContext

    public class JmxRegistrationContext

extends Object

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

### getCurrent

    public static JmxRegistrationContext getCurrent(MuleContext context)

  Get current context or create one if none exist for the current startup cycle.

  Returns:
    jmx registration context

### getResolvedDomain

    public String getResolvedDomain()

  Getter for property 'resolvedDomain'.

  Returns:
    Value for property 'resolvedDomain'.

### setResolvedDomain

    public void setResolvedDomain(String resolvedDomain)

  Setter for property 'resolvedDomain'.

  Parameters:
    `resolvedDomain` - Value to set for property 'resolvedDomain'.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.