Search in sources :

Example 6 with SPIProvider

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();
}
Also used : SPIProvider(org.jboss.wsf.spi.SPIProvider) ServerConfigFactory(org.jboss.wsf.spi.management.ServerConfigFactory)

Example 7 with SPIProvider

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();
}
Also used : SPIProvider(org.jboss.wsf.spi.SPIProvider) ServerConfigFactory(org.jboss.wsf.spi.management.ServerConfigFactory)

Aggregations

SPIProvider (org.jboss.wsf.spi.SPIProvider)7 ServerConfigFactory (org.jboss.wsf.spi.management.ServerConfigFactory)5 RunAsClient (org.jboss.arquillian.container.test.api.RunAsClient)2 BindingCustomization (org.jboss.ws.api.binding.BindingCustomization)2 JAXBBindingCustomization (org.jboss.ws.api.binding.JAXBBindingCustomization)2 DeploymentModelFactory (org.jboss.wsf.spi.deployment.DeploymentModelFactory)2 Endpoint (org.jboss.wsf.spi.deployment.Endpoint)2 Test (org.junit.Test)2 ServerConfig (org.jboss.wsf.spi.management.ServerConfig)1