Search in sources :

Example 11 with ConfigConfig

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

the class ConnectorServiceConfigTest method testCreateRemove.

public synchronized void testCreateRemove() {
    if (checkNotOffline("testCreateRemove")) {
        final ConfigConfig configConfig = getConfigConfig();
        // remove first, in case it's there
        configConfig.removeConnectorServiceConfig();
        // create and remove
        configConfig.createConnectorServiceConfig();
        configConfig.removeConnectorServiceConfig();
        // leave it there
        ensureDefaultInstance(configConfig);
    }
}
Also used : ConfigConfig(com.sun.appserv.management.config.ConfigConfig)

Example 12 with ConfigConfig

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

the class MessageSecurityConfigTest method getDefaultSecurityServiceConfig.

private static SecurityServiceConfig getDefaultSecurityServiceConfig(final DomainRoot domainRoot) {
    final ConfigConfig config = ConfigConfigTest.ensureDefaultInstance(domainRoot);
    final SecurityServiceConfig ss = config.getSecurityServiceConfig();
    assert (ss != null);
    return ss;
}
Also used : ConfigConfig(com.sun.appserv.management.config.ConfigConfig) SecurityServiceConfig(com.sun.appserv.management.config.SecurityServiceConfig)

Aggregations

ConfigConfig (com.sun.appserv.management.config.ConfigConfig)12 DomainConfig (com.sun.appserv.management.config.DomainConfig)2 SecurityServiceConfig (com.sun.appserv.management.config.SecurityServiceConfig)2 StandaloneServerConfig (com.sun.appserv.management.config.StandaloneServerConfig)2 AMX (com.sun.appserv.management.base.AMX)1 AMXDebugSupportMBean (com.sun.appserv.management.base.AMXDebugSupportMBean)1 AppserverConnectionSource (com.sun.appserv.management.client.AppserverConnectionSource)1 AdminServiceConfig (com.sun.appserv.management.config.AdminServiceConfig)1 DiagnosticServiceConfig (com.sun.appserv.management.config.DiagnosticServiceConfig)1 JavaConfig (com.sun.appserv.management.config.JavaConfig)1 ModuleMonitoringLevelsConfig (com.sun.appserv.management.config.ModuleMonitoringLevelsConfig)1 NodeAgentConfig (com.sun.appserv.management.config.NodeAgentConfig)1 ResourceRefConfig (com.sun.appserv.management.config.ResourceRefConfig)1 HashMap (java.util.HashMap)1 AMXDebugStuff (org.glassfish.admin.amx.util.AMXDebugStuff)1