Examples of DomainStatus


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
Copyright © 2018 www.massapi.com. 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.