Package com.sun.enterprise.admin.mbeans

Examples of com.sun.enterprise.admin.mbeans.DomainStatus


    // register domain status mBean
    private void registerDomainStatusMBean() {
  try {
    ObjectName on = DomainStatusHelper.getDomainStatusObjectName();

    server.registerMBean(new DomainStatus(), on);

    // set this server state to RUNNING
    Object[] params = new Object[2];
    params[0] = (Object) ApplicationServer.getServerContext().getInstanceName();
    params[1] = (Object) Integer.valueOf(StateManageable.STATE_RUNNING);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.mbeans.DomainStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.