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;
}
Aggregations