org.ow2.petals.bc.filetransfer
Class FileTransferComponent

java.lang.Object
  extended by org.ow2.petals.component.framework.AbstractComponent
      extended by org.ow2.petals.component.framework.bc.AbstractBindingComponent
          extended by org.ow2.petals.bc.filetransfer.FileTransferComponent
All Implemented Interfaces:
javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle, org.ow2.petals.component.framework.api.PetalsComponent

public class FileTransferComponent
extends org.ow2.petals.component.framework.bc.AbstractBindingComponent

Author:
rnaudin, ”Mathieu CARROLLE - mathieu.carrolle@petalslink.com”

Field Summary
 
Fields inherited from class org.ow2.petals.component.framework.AbstractComponent
context
 
Constructor Summary
FileTransferComponent()
           
 
Method Summary
 void addTransferedFile(org.ow2.petals.component.framework.api.message.Exchange exchange, java.io.File file)
           
 void cleanPendingProcessors()
          Remove from the map all done and cancelled task
protected  void doStop()
           
 java.util.Map<java.lang.String,java.util.concurrent.Future<?>> getPendingProcessors()
           
 java.io.File getTransferedFile(org.ow2.petals.component.framework.api.message.Exchange exchange)
           
 
Methods inherited from class org.ow2.petals.component.framework.bc.AbstractBindingComponent
createServiceUnitManager
 
Methods inherited from class org.ow2.petals.component.framework.AbstractComponent
activateEndpoint, deactivateEndpoint, doInit, doShutdown, doStart, getAsyncManager, getChannel, getComponentConfiguration, getComponentExtensions, getContext, getExtensionMBeanName, getInterceptor, getInterceptors, getLifeCycle, getLogger, getNativeWsdl, getProcessorManager, getResourceBundleName, getServiceDescription, getServiceUnitManager, init, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, resolveEndpointReference, shutDown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTransferComponent

public FileTransferComponent()
Method Detail

addTransferedFile

public void addTransferedFile(org.ow2.petals.component.framework.api.message.Exchange exchange,
                              java.io.File file)

cleanPendingProcessors

public void cleanPendingProcessors()
Remove from the map all done and cancelled task


getPendingProcessors

public java.util.Map<java.lang.String,java.util.concurrent.Future<?>> getPendingProcessors()

getTransferedFile

public java.io.File getTransferedFile(org.ow2.petals.component.framework.api.message.Exchange exchange)

doStop

protected void doStop()
               throws javax.jbi.JBIException
Overrides:
doStop in class org.ow2.petals.component.framework.AbstractComponent
Throws:
javax.jbi.JBIException


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