is this code threadsafe ???

public class testclass {
static{
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.getInInterceptors().add(new LoggingInInterceptor());
factory.getOutInterceptors().add(new LoggingOutInterceptor());
factory.setServiceClass(HelloWorld.class);
factory.setAddress("http://localhost:9000/helloWorld";);
HelloWorld client = (HelloWorld) factory.create();
}

public void callService(){
System.Out.println(client.sayHi("HI");)
}

}



--
View this message in context: 
http://cxf.547215.n5.nabble.com/are-the-logging-interceptors-threadsafe-tp5724942.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to