org.talend.esb.sam.agent.feature
Class EventFeatureImpl

java.lang.Object
  extended by org.apache.cxf.feature.AbstractFeature
      extended by org.talend.esb.sam.agent.feature.EventFeatureImpl
All Implemented Interfaces:
org.apache.cxf.feature.Feature, EventFeature

public class EventFeatureImpl
extends org.apache.cxf.feature.AbstractFeature
implements EventFeature


Constructor Summary
EventFeatureImpl()
          Instantiates a new event feature.
 
Method Summary
 void initialize(org.apache.cxf.endpoint.Client client, org.apache.cxf.Bus bus)
           
 void initialize(org.apache.cxf.endpoint.Server server, org.apache.cxf.Bus bus)
           
protected  void initializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider, org.apache.cxf.Bus bus)
           
 void setEnforceMessageIDTransfer(boolean enforceMessageIDTransfer)
          If enforce transfering MessageID (only for SOAP message)
 void setHandler(org.talend.esb.sam.common.spi.EventHandler handler)
          Set a custom handler
 void setLogMessageContent(boolean logMessageContent)
          If store the content of Message or not
 void setMaxContentLength(int maxContentLength)
          Set the maximum content length
 void setQueue(Queue<org.talend.esb.sam.common.event.Event> queue)
          Sets the queue.
 
Methods inherited from class org.apache.cxf.feature.AbstractFeature
getActive, initialize, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.feature.Feature
initialize, initialize
 

Constructor Detail

EventFeatureImpl

public EventFeatureImpl()
Instantiates a new event feature.

Method Detail

initialize

public void initialize(org.apache.cxf.endpoint.Server server,
                       org.apache.cxf.Bus bus)
Specified by:
initialize in interface org.apache.cxf.feature.Feature
Overrides:
initialize in class org.apache.cxf.feature.AbstractFeature

initialize

public void initialize(org.apache.cxf.endpoint.Client client,
                       org.apache.cxf.Bus bus)
Specified by:
initialize in interface org.apache.cxf.feature.Feature
Overrides:
initialize in class org.apache.cxf.feature.AbstractFeature

initializeProvider

protected void initializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider,
                                  org.apache.cxf.Bus bus)
Overrides:
initializeProvider in class org.apache.cxf.feature.AbstractFeature

setLogMessageContent

public void setLogMessageContent(boolean logMessageContent)
Description copied from interface: EventFeature
If store the content of Message or not

Specified by:
setLogMessageContent in interface EventFeature

setMaxContentLength

public void setMaxContentLength(int maxContentLength)
Description copied from interface: EventFeature
Set the maximum content length

Specified by:
setMaxContentLength in interface EventFeature

setEnforceMessageIDTransfer

public void setEnforceMessageIDTransfer(boolean enforceMessageIDTransfer)
Description copied from interface: EventFeature
If enforce transfering MessageID (only for SOAP message)

Specified by:
setEnforceMessageIDTransfer in interface EventFeature

setQueue

public void setQueue(Queue<org.talend.esb.sam.common.event.Event> queue)
Sets the queue.

Parameters:
queue - the new queue

setHandler

public void setHandler(org.talend.esb.sam.common.spi.EventHandler handler)
Description copied from interface: EventFeature
Set a custom handler

Specified by:
setHandler in interface EventFeature


Copyright © 2011–2014 Talend Inc.. All rights reserved.