use of org.apache.cxf.ws.transfer.resourcefactory.resolver.SimpleResourceResolver in project cxf by apache.
the class IntegrationBaseTest method createLocalResourceFactory.
protected Server createLocalResourceFactory(ResourceManager manager) {
ResourceFactoryImpl implementor = new ResourceFactoryImpl();
implementor.setResourceResolver(new SimpleResourceResolver(RESOURCE_ADDRESS, manager));
JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
factory.setBus(bus);
factory.setServiceClass(ResourceFactory.class);
factory.setAddress(RESOURCE_FACTORY_ADDRESS);
factory.setServiceBean(implementor);
return factory.create();
}
use of org.apache.cxf.ws.transfer.resourcefactory.resolver.SimpleResourceResolver in project cxf by apache.
the class IntegrationBaseTest method createRemoteResourceFactory.
protected Server createRemoteResourceFactory() {
ResourceFactoryImpl implementor = new ResourceFactoryImpl();
implementor.setResourceResolver(new SimpleResourceResolver(RESOURCE_REMOTE_ADDRESS, null));
JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
factory.setBus(bus);
factory.setServiceClass(ResourceFactory.class);
factory.setAddress(RESOURCE_FACTORY_ADDRESS);
factory.setServiceBean(implementor);
return factory.create();
}
Aggregations