Interface IDfMBeanServerProvider


public interface IDfMBeanServerProvider
This is the interface that is used to plug in different Application Servers' MBeans with DFC for registering PreferencesMBean with custom MBeanServers.
Typically, anyone wanting to register to the PreferencesMBeans with their application servers' MBeanServer will provide an implmentation of this interface, and mention the fully qualified name of the implementation class in dfc.properties as value for the property dfc.jmx.mbean_server_provider.
If the dfc.jmx.mode is a container, then we would see the value of this property and decide what action to take.
We provide default implementations for BEA's Weblogic and Oracle application server.
In providing implementations, the following critera have to be satisfied
- The implementation class should be in the classpath and visible to DFC.
- The implementation should provide a public no-arg constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a handle to a specific MBeanServer, depending on the application server against which this has been implemented.
     
  • Method Details

    • getMBeanServer

      MBeanServer getMBeanServer() throws DfException
      Returns a handle to a specific MBeanServer, depending on the application server against which this has been implemented.
      Returns:
      a handle to MBeanServer for the particular application server.
      Throws:
      DfException
    • getMBeanServerDomain

      String getMBeanServerDomain() throws DfException
      Throws:
      DfException