0 CDK Component Interceptor configuration 5.8.0

Version 1 by Christophe DENEUX
on Jan 16, 2019 16:34.

compared with
Current by Christophe DENEUX
on Mar 18, 2020 17:44.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History
{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>
<jbi:jbi xmlns:jbi="http://java.sun.com/xml/ns/jbi" xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5" ...>
<jbi:component>
<!--...-->
<petalsCDK:component-interceptors>
  <petalsCDK:interceptor active="true" class="org.ow2.petals.myInterceptor" name="myInterceptorName">
    <petalsCDK:param name="myParamName">myParamValue</petalsCDK:param>
    <petalsCDK:param name="myParamName2">myParamValue2</petalsCDK:param>
  </petalsCDK:interceptor>
</petalsCDK:component-interceptors>
<!--...-->
</jbi:component>
<!--...--> </jbi:jbi>
<petalsCDK:component-interceptors>
  <petalsCDK:interceptor active="true" class="org.ow2.petals.myInterceptor" name="myInterceptorName">
    <petalsCDK:param name="myParamName">myParamValue</petalsCDK:param>
    <petalsCDK:param name="myParamName2">myParamValue2</petalsCDK:param>
  </petalsCDK:interceptor>
</petalsCDK:component-interceptors>
<!--...-->
{code}

|| Parameter || Description || Default || Required ||
| interceptor - class | Name of the interceptor class to implement. This class must extend the abstract class _org.ow2.petals.component.common.interceptor.Interceptor_. This class must be loadable from the component classloader, or in a dependent Shared Library classloader. | \- | Yes |
| interceptor - name | Logical name of the interceptor instance. It can be referenced to add extended parameters by a SU Interceptor configuration. | \- | Yes |
| interceptor - name | Logical name of the interceptor instance. It is referenced at service unit level to register this interceptor for services of the service unit. See SU Interceptor configuration. | \- | Yes |
| interceptor - active | If _true_, the Interceptor instance is activated for every SU deployed on the component. \\
If _false_, the Interceptor can be activated: \\