1 23 24 25 package com.sun.appserv.management.config; 26 27 import java.util.Map ; 28 import java.util.List ; 29 30 import com.sun.appserv.management.base.Container; 31 import com.sun.appserv.management.base.XTypes; 32 import com.sun.appserv.management.DomainRoot; 33 34 35 40 41 public interface DomainConfig 42 extends PropertiesAccess, SystemPropertiesAccess, 43 ConfigElement, Container, ConfigRemover 44 { 45 46 public static final String J2EE_TYPE = XTypes.DOMAIN_CONFIG; 47 48 66 public StandaloneServerConfig createStandaloneServerConfig(String name, String nodeAgentName, 67 String configName, Map <String ,String > optional); 68 69 70 71 72 77 public Map <String ,NodeAgentConfig> getNodeAgentConfigMap(); 78 79 84 public Map <String ,ConfigConfig> getConfigConfigMap(); 85 86 106 public ConfigConfig createConfigConfig( String name, Map <String ,String > optional ); 107 108 114 public void removeConfigConfig( String name ); 115 116 121 public Map <String ,StandaloneServerConfig> getStandaloneServerConfigMap(); 122 123 128 public Map <String ,ClusteredServerConfig> getClusteredServerConfigMap(); 129 130 public void removeStandaloneServerConfig( String name ); 131 public void removeClusteredServerConfig( String name ); 132 133 154 public ClusteredServerConfig createClusteredServerConfig(String name, 155 String clusterName, String nodeAgentName, 156 java.util.Map <String ,String > optional); 157 158 164 public Map <String ,ServerConfig> getServerConfigMap(); 165 166 171 public Map <String ,ClusterConfig> getClusterConfigMap(); 172 173 185 public ClusterConfig createClusterConfig(String name, String referencedConfigName, 186 Map <String ,String > optional); 187 188 196 public ClusterConfig createClusterConfig(String name, Map <String ,String > optional); 197 198 202 public void removeClusterConfig(String name); 203 204 209 public Map <String ,LoadBalancerConfig> getLoadBalancerConfigMap(); 210 211 220 public LoadBalancerConfig createLoadBalancerConfig(String name, String lbConfigName, 221 boolean autoApplyEnabled, Map <String ,String > optional); 222 223 227 public void removeLoadBalancerConfig(String name); 228 229 234 public Map <String ,LBConfig> getLBConfigMap(); 235 236 250 public LBConfig createLBConfig(String name, Map <String ,String > params); 251 252 256 public void removeLBConfig(String name); 257 258 259 public String getApplicationRoot(); 260 public void setApplicationRoot( final String value ); 261 262 public String getLocale(); 263 public void setLocale( final String value ); 264 265 public String getLogRoot(); 266 public void setLogRoot( final String value ); 267 268 269 275 276 public Map <String ,CustomResourceConfig> getCustomResourceConfigMap(); 277 278 279 291 public CustomResourceConfig createCustomResourceConfig( String jndiName, 292 String resType, 293 String factoryClass, 294 Map <String ,String > optional ); 295 296 297 302 public void removeCustomResourceConfig( String name ); 303 304 305 306 311 public Map <String ,JNDIResourceConfig> getJNDIResourceConfigMap(); 312 313 326 public JNDIResourceConfig createJNDIResourceConfig( String jndiName, 327 String jndiLookupName, 328 String resType, 329 String factoryClass, 330 Map <String ,String > optional); 331 332 338 public void removeJNDIResourceConfig( String jndiName ); 339 340 341 346 public Map <String ,PersistenceManagerFactoryResourceConfig> 347 getPersistenceManagerFactoryResourceConfigMap(); 348 349 350 364 public PersistenceManagerFactoryResourceConfig 365 createPersistenceManagerFactoryResourceConfig( String jndiName, Map <String ,String > optional); 366 367 368 373 public void removePersistenceManagerFactoryResourceConfig( String jndiName ); 374 375 376 381 public Map <String ,JDBCResourceConfig> getJDBCResourceConfigMap(); 382 383 395 public JDBCResourceConfig createJDBCResourceConfig( String jndiName, 396 String poolName, 397 Map <String ,String > optional ); 398 399 404 public void removeJDBCResourceConfig( String jndiName ); 405 406 407 412 public Map <String ,JDBCConnectionPoolConfig> getJDBCConnectionPoolConfigMap(); 413 414 436 public JDBCConnectionPoolConfig createJDBCConnectionPoolConfig( String name, 437 String connectionValidationMethod, 438 String datasourceClassname, 439 boolean failAllConnections, 440 int idleTimeoutSeconds, 441 boolean connectionValidationRequired, 442 boolean isolationLevelGuaranteed, 443 String transactionIsolationLevel, 444 int maxPoolSize, 445 int maxWaitTimeMillis, 446 int poolResizeQuantity, 447 String resType, 448 int steadyPoolSize, 449 String databaseName, 450 String databaseUserName, 451 String databasePassword, 452 Map <String ,String > reservedForFutureUse ); 453 454 480 public JDBCConnectionPoolConfig createJDBCConnectionPoolConfig( String name, 481 String datasourceClassname, Map <String ,String > optional); 482 483 488 public void removeJDBCConnectionPoolConfig( String jdbcConnectionPoolName ); 489 490 491 496 public Map <String ,ConnectorResourceConfig> getConnectorResourceConfigMap(); 497 498 509 public ConnectorResourceConfig createConnectorResourceConfig( String jndiName, 510 String poolName, 511 Map <String ,String > optional ); 512 513 514 519 public void removeConnectorResourceConfig( String jndiName ); 520 521 522 527 public Map <String ,ConnectorConnectionPoolConfig> getConnectorConnectionPoolConfigMap(); 528 529 552 public ConnectorConnectionPoolConfig createConnectorConnectionPoolConfig( String name, 553 String resourceAdapterName, 554 String connectionDefinitionName, 555 Map <String ,String > optional ); 556 557 562 public void removeConnectorConnectionPoolConfig( String name ); 563 564 569 public Map <String ,AdminObjectResourceConfig> getAdminObjectResourceConfigMap(); 570 571 583 public AdminObjectResourceConfig createAdminObjectResourceConfig( String jndiName, 584 String resType, 585 String resAdapter, 586 Map <String ,String > optional ); 587 588 593 public void removeAdminObjectResourceConfig( String jndiName ); 594 595 596 601 public Map <String ,ResourceAdapterConfig> getResourceAdapterConfigMap(); 602 603 609 public ResourceAdapterConfig createResourceAdapterConfig( String resourceAdapterName, Map <String ,String > optional ); 610 public void removeResourceAdapterConfig( String resourceAdapterName ); 611 612 613 618 public Map <String ,MailResourceConfig> getMailResourceConfigMap(); 619 620 639 public MailResourceConfig createMailResourceConfig( String jndiName, 640 String host, 641 String user, 642 String from, 643 Map <String ,String > optional); 644 645 650 public void removeMailResourceConfig( String jndiName ); 651 652 660 public Map <String ,J2EEApplicationConfig> getJ2EEApplicationConfigMap(); 661 662 663 671 public Map <String ,EJBModuleConfig> getEJBModuleConfigMap( ); 672 673 681 public Map <String ,WebModuleConfig> getWebModuleConfigMap( ); 682 683 691 public Map <String ,RARModuleConfig> getRARModuleConfigMap(); 692 693 701 public Map <String ,AppClientModuleConfig> getAppClientModuleConfigMap(); 702 703 706 public Map <String ,LifecycleModuleConfig> getLifecycleModuleConfigMap(); 707 708 735 public LifecycleModuleConfig createLifecycleModuleConfig( String name, 736 String description, 737 String classname, 738 String classpath, 739 String loadOrder, 740 boolean isFailureFatal, 741 boolean enabled, 742 Map <String ,String > reserved ); 743 744 749 public void removeLifecycleModuleConfig( String name ); 750 751 752 756 public ResourceConfig getResourceConfig( String name ); 757 758 794 public CustomMBeanConfig createCustomMBeanConfig( 795 String name, 796 String implClassname, 797 String objectName, 798 boolean enabled, 799 Map <String ,String > reserved ); 800 801 810 public void removeCustomMBeanConfig( String name ); 811 812 813 816 public Map <String ,CustomMBeanConfig> getCustomMBeanConfigMap(); 817 818 } 819 820 821 822 823 824 825 826 827 828 829 830 | Popular Tags |