The ServiceConfig.xml
and CMServiceConfig.xml
will look like
the following:
<ServiceInterceptors>
<Service name="CMLPXXXX">
<Interceptor action="add">
com.splwg.interceptor.CMLPXXXXAddInterceptor
</Interceptor>
<Interceptor action="change">
com.splwg.interceptor.CMLPXXXXChangeInterceptor
</Interceptor>
</Service>
</ServiceInterceptors>
The above example illustrates how interceptors are defined for the service CMLPXXXX. You can define one or more interceptors, depending on the action, for each service. The valid actions are add, change, delete, and read.