Search in sources :

Example 6 with ConnectorConnectionPoolConfig

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

the class ConnectorResourceConfigTest method ensureDefaultInstance.

public static ConnectorResourceConfig ensureDefaultInstance(final DomainConfig domainConfig) {
    ConnectorResourceConfig result = domainConfig.getResourcesConfig().getConnectorResourceConfigMap().get(getDefaultInstanceName());
    final ConnectorConnectionPoolConfig connectorConnectionPool = ConnectorConnectionPoolConfigTest.ensureDefaultInstance(domainConfig);
    if (result == null) {
        result = createInstance(domainConfig, getDefaultInstanceName(), connectorConnectionPool.getName(), null);
    }
    return result;
}
Also used : ConnectorConnectionPoolConfig(com.sun.appserv.management.config.ConnectorConnectionPoolConfig) ConnectorResourceConfig(com.sun.appserv.management.config.ConnectorResourceConfig)

Aggregations

ConnectorConnectionPoolConfig (com.sun.appserv.management.config.ConnectorConnectionPoolConfig)6 SecurityMapConfig (com.sun.appserv.management.config.SecurityMapConfig)4 ResourceAdapterConfig (com.sun.appserv.management.config.ResourceAdapterConfig)2 ConnectorResourceConfig (com.sun.appserv.management.config.ConnectorResourceConfig)1