use of org.jboss.wsf.spi.SPIProvider in project jbossws-cxf by jbossws.
the class TestUtils method getServerConfig.
private static ServerConfig getServerConfig() {
final ClassLoader cl = ClassLoaderProvider.getDefaultProvider().getServerIntegrationClassLoader();
SPIProvider spiProvider = SPIProviderResolver.getInstance(cl).getProvider();
return spiProvider.getSPI(ServerConfigFactory.class, cl).getServerConfig();
}
use of org.jboss.wsf.spi.SPIProvider in project jbossws-cxf by jbossws.
the class TestUtils method getServerConfig.
private static ServerConfig getServerConfig() {
final ClassLoader cl = ClassLoaderProvider.getDefaultProvider().getServerIntegrationClassLoader();
SPIProvider spiProvider = SPIProviderResolver.getInstance(cl).getProvider();
return spiProvider.getSPI(ServerConfigFactory.class, cl).getServerConfig();
}
Aggregations