When using JiBX to configure the service, this is populated from the XML service definition document by JiBX unmarshalling. A new instance of the specified handler class will be constructed with the specified arguments for each service instance. Since a separate handler class instance is created for each context these do not need to be threadsafe - only one thread will call any given handler instance at a time.
If not using JiBX to configure the service, a handler object can be specified in place of specifying the handler class and arguments. Since only a single instance of this handler object will be used, the object must be thread-safe. @author Nigel Charman
|
|
|
|