org.apache.synapse.transport.passthru.config
Class BaseConfiguration

java.lang.Object
  extended by org.apache.synapse.transport.passthru.config.BaseConfiguration
Direct Known Subclasses:
SourceConfiguration, TargetConfiguration

public abstract class BaseConfiguration
extends Object

This class has common configurations for both sender and receiver.


Field Summary
protected  BufferFactory bufferFactory
           
protected  PassThroughConfiguration conf
           
protected  org.apache.axis2.context.ConfigurationContext configurationContext
          The Axis2 ConfigurationContext
protected  org.apache.http.params.HttpParams httpParams
          Default http parameters
protected  org.apache.http.impl.nio.reactor.IOReactorConfig ioReactorConfig
           
protected  org.apache.axis2.description.ParameterInclude parameters
          Configurations given by axis2.xml
 
Constructor Summary
BaseConfiguration(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.ParameterInclude parameters, org.apache.axis2.transport.base.threads.WorkerPool workerPool, PassThroughTransportMetricsCollector metrics)
           
 
Method Summary
 void build()
           
protected  org.apache.http.params.HttpParams buildHttpParams()
           
protected  org.apache.http.impl.nio.reactor.IOReactorConfig buildIOReactorConfig()
           
 BufferFactory getBufferFactory()
           
 org.apache.axis2.context.ConfigurationContext getConfigurationContext()
           
 int getIOBufferSize()
           
 PassThroughTransportMetricsCollector getMetrics()
           
 org.apache.axis2.transport.base.threads.WorkerPool getWorkerPool()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameters

protected org.apache.axis2.description.ParameterInclude parameters
Configurations given by axis2.xml


configurationContext

protected org.apache.axis2.context.ConfigurationContext configurationContext
The Axis2 ConfigurationContext


httpParams

protected org.apache.http.params.HttpParams httpParams
Default http parameters


ioReactorConfig

protected org.apache.http.impl.nio.reactor.IOReactorConfig ioReactorConfig

bufferFactory

protected BufferFactory bufferFactory

conf

protected PassThroughConfiguration conf
Constructor Detail

BaseConfiguration

public BaseConfiguration(org.apache.axis2.context.ConfigurationContext configurationContext,
                         org.apache.axis2.description.ParameterInclude parameters,
                         org.apache.axis2.transport.base.threads.WorkerPool workerPool,
                         PassThroughTransportMetricsCollector metrics)
Method Detail

build

public void build()
           throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getIOBufferSize

public int getIOBufferSize()

getWorkerPool

public org.apache.axis2.transport.base.threads.WorkerPool getWorkerPool()

getConfigurationContext

public org.apache.axis2.context.ConfigurationContext getConfigurationContext()

buildHttpParams

protected org.apache.http.params.HttpParams buildHttpParams()

buildIOReactorConfig

protected org.apache.http.impl.nio.reactor.IOReactorConfig buildIOReactorConfig()

getBufferFactory

public BufferFactory getBufferFactory()

getMetrics

public PassThroughTransportMetricsCollector getMetrics()


Copyright © 2005–2015 Apache Software Foundation. All rights reserved.