Matthieu Riou wrote: > On Thu, Aug 28, 2008 at 6:55 AM, Giorgio M. <[EMAIL PROTECTED]>wrote: > >> Ok, hence can i use interceptor in order to capture a service invocation >> message? i mean, can i capture single atomic service start event (that >> compose with the other service the process) instead of the more generic >> process start event? I need to intercept every single invocation (every >> single invoke within the BPEL process) and if the user is not >> authorized, generate an error and stop the process execution. Can I do >> it with Message Exchange Interceptors?? >> > > Check the method createPartnerRoleChannel in BindingContextImpl. This get > called anytime a process that uses a new service is deployed. You'll > probably have to subclass ODEServer to plug in your implementation tough.
Apropos, is there a reason why we don't use dependency injection? I think it would ease such configuration issues a lot, though it would require quite huge refactorings. Tammo
