org.ow2.petals.component.framework.process
Class MessageInterceptorProcessor

java.lang.Object
  extended by org.ow2.petals.component.framework.process.MessageInterceptorProcessor

public class MessageInterceptorProcessor
extends java.lang.Object

The message interceptor processor. Used by the component to intercept messages.

Since:
2.0
Author:
chamerling - EBM WebSourcing

Field Summary
protected  AbstractComponent component
          The JBI component instance
protected  java.util.logging.Logger logger
          The logger
 
Constructor Summary
MessageInterceptorProcessor(AbstractComponent component, java.util.logging.Logger logger)
          Creates a new instance of MessageInterceptorProcessor
 
Method Summary
 void intercept(org.ow2.petals.component.framework.api.message.Exchange exchange, java.lang.Object service, org.ow2.petals.component.framework.api.Message.InterceptorPhase interceptorPhase)
          Intercepts the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected AbstractComponent component
The JBI component instance


logger

protected java.util.logging.Logger logger
The logger

Constructor Detail

MessageInterceptorProcessor

public MessageInterceptorProcessor(AbstractComponent component,
                                   java.util.logging.Logger logger)
Creates a new instance of MessageInterceptorProcessor

Method Detail

intercept

public void intercept(org.ow2.petals.component.framework.api.message.Exchange exchange,
                      java.lang.Object service,
                      org.ow2.petals.component.framework.api.Message.InterceptorPhase interceptorPhase)
               throws org.ow2.petals.component.framework.api.exception.PEtALSCDKException
Intercepts the message.

Parameters:
exchange -
extensible -
Throws:
org.ow2.petals.component.framework.api.exception.PEtALSCDKException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.