1 23 24 29 30 31 package com.sun.appserv.management.config; 32 33 import java.util.Map ; 34 35 36 import com.sun.appserv.management.base.XTypes; 37 import com.sun.appserv.management.base.Container; 38 39 40 41 44 public interface ClusterConfig 45 extends PropertiesAccess, SystemPropertiesAccess, 46 NamedConfigElement, Container, 47 ResourceRefConfigCR, ServerRefConfigCR, DeployedItemRefConfigCR 48 { 49 50 public static final String J2EE_TYPE = XTypes.CLUSTER_CONFIG; 51 52 55 public String getReferencedConfigName(); 56 57 62 public Map <String ,ServerRefConfig> getServerRefConfigMap(); 63 64 69 public Map <String ,ResourceRefConfig> getResourceRefConfigMap(); 70 71 76 public Map <String ,DeployedItemRefConfig> getDeployedItemRefConfigMap(); 77 78 81 public Map <String ,ClusteredServerConfig> getClusteredServerConfigMap(); 82 83 84 87 public ClusteredServerConfig createClusteredServerConfig( 88 String name, String nodeAgentName, 89 Map <String ,String > optional); 90 93 public void removeClusteredServerConfig( String name ); 94 95 99 public String getHeartbeatPort(); 100 103 public void setHeartbeatPort(final String port); 104 105 108 public boolean getHeartbeatEnabled(); 109 112 public void setHeartbeatEnabled(final boolean enabled); 113 114 117 public String getHeartbeatAddress(); 118 121 public void setHeartbeatAddress(final String address); 122 } 123 | Popular Tags |