Search in sources :

Example 11 with DomainConfig

use of com.sun.appserv.management.config.DomainConfig in project Payara by payara.

the class DomainConfigTest method testGetMaps.

public void testGetMaps() {
    final DomainConfig m = getDomainConfig();
    // checkMap(m.getServersConfig().getServerConfigMap());
    checkMap(m.getServersConfig().getStandaloneServerConfigMap());
    checkMap(m.getServersConfig().getClusteredServerConfigMap());
    checkMap(m.getLBConfigsConfig().getLBConfigMap());
    checkMap(m.getLoadBalancersConfig().getLoadBalancerConfigMap());
    checkMap(m.getNodeAgentsConfig().getNodeAgentConfigMap());
    checkMap(m.getConfigsConfig().getConfigConfigMap());
    checkMap(m.getClustersConfig().getClusterConfigMap());
    checkMap(m.getResourcesConfig().getPersistenceManagerFactoryResourceConfigMap());
    checkMap(m.getResourcesConfig().getJDBCResourceConfigMap());
    checkMap(m.getResourcesConfig().getJDBCConnectionPoolConfigMap());
    checkMap(m.getResourcesConfig().getConnectorResourceConfigMap());
    checkMap(m.getResourcesConfig().getConnectorConnectionPoolConfigMap());
    checkMap(m.getResourcesConfig().getAdminObjectResourceConfigMap());
    checkMap(m.getResourcesConfig().getResourceAdapterConfigMap());
    checkMap(m.getResourcesConfig().getMailResourceConfigMap());
    // checkMap(m.getApplicationsConfig().getJ2EEApplicationConfigMap());
    checkMap(m.getApplicationsConfig().getEJBModuleConfigMap());
    checkMap(m.getApplicationsConfig().getWebModuleConfigMap());
    checkMap(m.getApplicationsConfig().getRARModuleConfigMap());
    checkMap(m.getApplicationsConfig().getAppClientModuleConfigMap());
    checkMap(m.getApplicationsConfig().getLifecycleModuleConfigMap());
}
Also used : DomainConfig(com.sun.appserv.management.config.DomainConfig)

Example 12 with DomainConfig

use of com.sun.appserv.management.config.DomainConfig in project Payara by payara.

the class DomainConfigTest method testGetDeployedItemProxies.

public void testGetDeployedItemProxies() {
    final DomainConfig mgr = getDomainConfig();
    final Set proxies = mgr.getContaineeSet();
    assert (proxies.size() != 0);
    final Iterator iter = proxies.iterator();
    while (iter.hasNext()) {
        final AMX proxy = Util.asAMX(iter.next());
    }
}
Also used : Set(java.util.Set) Iterator(java.util.Iterator) AMX(com.sun.appserv.management.base.AMX) DomainConfig(com.sun.appserv.management.config.DomainConfig)

Aggregations

DomainConfig (com.sun.appserv.management.config.DomainConfig)12 AMX (com.sun.appserv.management.base.AMX)2 ClusteredServerConfig (com.sun.appserv.management.config.ClusteredServerConfig)2 ConfigConfig (com.sun.appserv.management.config.ConfigConfig)2 DomainRoot (com.sun.appserv.management.DomainRoot)1 AdminServiceConfig (com.sun.appserv.management.config.AdminServiceConfig)1 ClusterConfig (com.sun.appserv.management.config.ClusterConfig)1 CustomMBeanConfig (com.sun.appserv.management.config.CustomMBeanConfig)1 NodeAgentConfig (com.sun.appserv.management.config.NodeAgentConfig)1 ResourceConfig (com.sun.appserv.management.config.ResourceConfig)1 ResourceRefConfig (com.sun.appserv.management.config.ResourceRefConfig)1 ResourceRefConfigCR (com.sun.appserv.management.config.ResourceRefConfigCR)1 SecurityServiceConfig (com.sun.appserv.management.config.SecurityServiceConfig)1 StandaloneServerConfig (com.sun.appserv.management.config.StandaloneServerConfig)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 Iterator (java.util.Iterator)1 Map (java.util.Map)1 Set (java.util.Set)1 ObjectName (javax.management.ObjectName)1