Class MBeanServerService

java.lang.Object
org.jboss.as.jmx.MBeanServerService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<PluggableMBeanServer>, org.jboss.msc.value.Value<PluggableMBeanServer>

public class MBeanServerService extends Object implements org.jboss.msc.service.Service<PluggableMBeanServer>
Basic service managing and wrapping an MBeanServer instance. Note: Just using the platform mbean server for now.
Author:
John Bailey, Kabir Khan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jboss.msc.service.ServiceName
     

    Fields inherited from interface org.jboss.msc.service.Service

    NULL
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.jboss.msc.service.ServiceController<?>
    addService(org.jboss.as.controller.OperationContext context, String resolvedDomainName, String expressionsDomainName, boolean legacyWithProperPropertyFormat, boolean coreMBeanSensitivity, org.jboss.as.controller.audit.ManagedAuditLogger auditLoggerInfo, org.jboss.as.controller.access.management.JmxAuthorizer authorizer, Supplier<org.wildfly.security.auth.server.SecurityIdentity> securityIdentitySupplier, org.jboss.as.jmx.JmxEffect jmxEffect, org.jboss.as.controller.ProcessType processType, boolean isMasterHc)
     
     
    void
    start(org.jboss.msc.service.StartContext context)
     
    void
    stop(org.jboss.msc.service.StopContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SERVICE_NAME

      public static final org.jboss.msc.service.ServiceName SERVICE_NAME
  • Method Details

    • addService

      public static org.jboss.msc.service.ServiceController<?> addService(org.jboss.as.controller.OperationContext context, String resolvedDomainName, String expressionsDomainName, boolean legacyWithProperPropertyFormat, boolean coreMBeanSensitivity, org.jboss.as.controller.audit.ManagedAuditLogger auditLoggerInfo, org.jboss.as.controller.access.management.JmxAuthorizer authorizer, Supplier<org.wildfly.security.auth.server.SecurityIdentity> securityIdentitySupplier, org.jboss.as.jmx.JmxEffect jmxEffect, org.jboss.as.controller.ProcessType processType, boolean isMasterHc)
    • start

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getValue

      public PluggableMBeanServer getValue() throws IllegalStateException
      Specified by:
      getValue in interface org.jboss.msc.value.Value<PluggableMBeanServer>
      Throws:
      IllegalStateException