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.AMX; 38 39 import com.sun.appserv.management.base.Container; 40 41 44 public interface AvailabilityServiceConfig 45 extends ConfigElement, PropertiesAccess, Container 46 { 47 48 public static final String J2EE_TYPE = XTypes.AVAILABILITY_SERVICE_CONFIG; 49 50 51 58 EJBContainerAvailabilityConfig createEJBContainerAvailabilityConfig( Map <String ,String > params ); 59 60 63 void removeEJBContainerAvailabilityConfig(); 64 65 72 WebContainerAvailabilityConfig createWebContainerAvailabilityConfig( Map <String ,String > params ); 73 74 77 void removeWebContainerAvailabilityConfig(); 78 79 82 EJBContainerAvailabilityConfig getEJBContainerAvailabilityConfig(); 83 84 87 WebContainerAvailabilityConfig getWebContainerAvailabilityConfig(); 88 boolean getAvailabilityEnabled(); 89 void setAvailabilityEnabled( boolean enabled ); 90 91 101 boolean getAutoManageHAStore(); 102 112 void setAutoManageHAStore(boolean enabled); 113 114 115 133 String getStorePoolName(); 134 152 void setStorePoolName( String storePoolName ); 153 154 162 String getHAAgentHosts(); 163 170 void setHAAgentHosts(String value ); 171 172 178 String getHAAgentPort(); 179 180 186 void setHAAgentPort(String value ); 187 188 191 String getHAAgentPassword(); 192 193 196 void setHAAgentPassword( String password ); 197 198 203 String getHAStoreHealthcheckIntervalSeconds(); 204 205 210 void setHAStoreHealthcheckIntervalSeconds(String value ); 211 212 218 219 String getHAStoreName(); 220 226 void setHAStoreName( String value ); 227 228 238 boolean getHAStoreHealthcheckEnabled(); 239 void setHAStoreHealthcheckEnabled( boolean value ); 240 241 public JMSAvailabilityConfig getJMSAvailabilityConfig(); 242 public void createJMSAvailabilityConfig( 243 boolean availabilityEnabled, String mqStorePoolName ); 244 public void removeJMSAvailabilityConfig(); 245 } 246 247 248 | Popular Tags |