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