1 23 24 package com.sun.enterprise.admin.mbeans; 25 26 import javax.management.ObjectName ; 27 import javax.management.MBeanServerConnection ; 28 29 35 36 public interface DomainStatusMBean { 37 38 41 public static final String DOMAIN_STATUS_STATE = "state"; 42 43 46 public static final String DOMAIN_STATUS_PROPS = "name=domain-status"; 47 48 51 public final String SERVER_STATUS_NOTIFICATION_TYPE = 52 "com.sun.appserv.management.status.ServerStatusChanged"; 53 54 58 public final String SERVER_NAME_KEY = "ServerName"; 59 60 62 66 public int getstate(String serverName) throws Exception ; 67 68 71 public void setstate(String serverName, Integer state) throws Exception ; 72 73 76 public MBeanServerConnection getServerMBeanServerConnection(String serverName) throws Exception ; 77 78 } 79 | Popular Tags |