org.ow2.petals.bc.filetransfer.service.provide
Class AbstractFileService

java.lang.Object
  extended by org.ow2.petals.bc.filetransfer.service.provide.AbstractFileService
Direct Known Subclasses:
CheckFileService, DelFileService, DirService, GetFileAsAttachmentService, GetFileService, MGetFileService, MPutFileService, PutFileService

public abstract class AbstractFileService
extends java.lang.Object


Field Summary
protected  org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions
           
protected  java.util.logging.Logger logger
           
 
Constructor Summary
AbstractFileService(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions, java.util.logging.Logger logger)
           
 
Method Summary
 java.lang.String getTargetFileName(org.ow2.petals.component.framework.api.message.Exchange exchange)
          Get the target file name for a unique transfer.
abstract  void process(org.ow2.petals.component.framework.api.message.Exchange exchange, org.w3c.dom.Document inMessageDoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected java.util.logging.Logger logger

extensions

protected org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions
Constructor Detail

AbstractFileService

public AbstractFileService(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
                           java.util.logging.Logger logger)
Method Detail

process

public abstract void process(org.ow2.petals.component.framework.api.message.Exchange exchange,
                             org.w3c.dom.Document inMessageDoc)
                      throws javax.jbi.messaging.MessagingException
Throws:
javax.jbi.messaging.MessagingException

getTargetFileName

public java.lang.String getTargetFileName(org.ow2.petals.component.framework.api.message.Exchange exchange)
Get the target file name for a unique transfer.

Returns:
Throws:
javax.jbi.messaging.MessagingException


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