Interface ManagedObjectManagerService


public interface ManagedObjectManagerService
Service used to create ManagedObjectManager instances.
  • Method Details

    • create

      ManagedObjectManager create(String domain)
      Create a new ManagedObjectManager. All objectnames created will share the domain value passed on this call. This ManagedObjectManager is at the top of the containment hierarchy: the parent of the root is null.
      Parameters:
      domain - The domain to use for all ObjectNames created when MBeans are registered.
      Returns:
      A new ManagedObjectManager.
    • create

      ManagedObjectManager create(ObjectName rootParentName)
      Alternative form of the create method to be used when the rootName is not needed explicitly. If the root name is available from an @ObjectNameKey annotation, it is used; otherwise the type is used as the name, since the root is a singleton.
      Parameters:
      rootParentName - The JMX ObjectName of the parent of the root. The parent is outside of the control of this ManagedObjectManager. The ManagedObjectManager root is a child of the MBean identified by the rootParentName.
      Returns:
      The ManagedObjectManager.