org.apache.servicemix.ftp
Class FtpComponent

java.lang.Object
  extended by org.apache.servicemix.common.AsyncBaseLifeCycle
      extended by org.apache.servicemix.common.BaseLifeCycle
          extended by org.apache.servicemix.common.DefaultComponent
              extended by org.apache.servicemix.ftp.FtpComponent
All Implemented Interfaces:
Component, ComponentLifeCycle, ServiceMixComponent, MessageExchangeListener

public class FtpComponent
extends DefaultComponent

An FTP based component

Version:
$Revision: $

Field Summary
 
Fields inherited from class org.apache.servicemix.common.DefaultComponent
logger, registry, serviceUnit, serviceUnitManager
 
Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle
channel, component, context, correlationId, currentState, executor, executorFactory, INITIALIZED, mbeanName, poller, polling, processors, running, transactionManager, workManagerCreated
 
Constructor Summary
FtpComponent()
           
 
Method Summary
protected  List getConfiguredEndpoints()
           
protected  Class[] getEndpointClasses()
           
 FtpEndpointType[] getEndpoints()
           
protected  Endpoint getResolvedEPR(ServiceEndpoint ep)
           
 void setEndpoints(FtpEndpointType[] endpoints)
           
 
Methods inherited from class org.apache.servicemix.common.DefaultComponent
addEndpoint, asList, createRegistry, createServiceUnitManager, doInit, doShutDown, doStart, doStop, getComponentContext, getComponentName, getEPRElementName, getEPRProtocols, getEPRServiceName, getLifeCycle, getLogger, getRegistry, getServiceDescription, getServiceUnit, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, removeEndpoint, resolveEndpointReference, validateEndpoint
 
Methods inherited from class org.apache.servicemix.common.BaseLifeCycle
onMessageExchange
 
Methods inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle
createExecutorFactory, createExtensionMBeanName, exceptionShouldRollbackTx, findExecutorFactory, getContext, getCurrentState, getExecutor, getExtensionMBean, getExtensionMBeanName, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, pollDeliveryChannel, prepareConsumerExchange, processExchange, processExchangeInTx, sendConsumerExchange, sendConsumerExchange, setComponent, setCurrentState, shutDown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.servicemix.common.ServiceMixComponent
getExecutor, prepareConsumerExchange, sendConsumerExchange
 

Constructor Detail

FtpComponent

public FtpComponent()
Method Detail

getEndpoints

public FtpEndpointType[] getEndpoints()

setEndpoints

public void setEndpoints(FtpEndpointType[] endpoints)

getConfiguredEndpoints

protected List getConfiguredEndpoints()
Specified by:
getConfiguredEndpoints in class DefaultComponent

getEndpointClasses

protected Class[] getEndpointClasses()
Specified by:
getEndpointClasses in class DefaultComponent

getResolvedEPR

protected Endpoint getResolvedEPR(ServiceEndpoint ep)
                           throws Exception
Overrides:
getResolvedEPR in class AsyncBaseLifeCycle
Throws:
Exception


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.