|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.bc.ftp.service.FTPService
public class FTPService
The FTP JBI listener. Writes a file to FTP server on incoming JBI message.
| Constructor Summary | |
|---|---|
FTPService(java.util.logging.Logger logger)
|
|
| Method Summary | |
|---|---|
void |
processDel(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
FTP DEL Operation |
void |
processDir(org.ow2.petals.component.framework.api.message.Exchange exchange,
WrappedFTPClient client)
FTP DIR operation. |
void |
processGet(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
FTP GET operation get the file as a source message a Fault is returned for bad request or IO problems |
void |
processGetAsAttachment(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
FTP GET operation get the file as a source message a Fault is returned for bad request or IO problems |
void |
processMGet(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
FTP MGET operation All files are getted as attachments |
void |
processMPut(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inputDocument,
WrappedFTPClient client)
Put attachments on the ftp server TODO an FTP connection is done for each file... |
void |
processPut(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
Put the source on the ftp server with the given filename a Fault is returned on IO problems TODO the content to send is a String, which is not optimal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FTPService(java.util.logging.Logger logger)
| Method Detail |
|---|
public void processDel(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
throws javax.jbi.messaging.MessagingException,
MissingElementException
exchange - connectionInfo - inMessage -
MissingElementException
java.lang.Exception
javax.jbi.messaging.MessagingException
public void processDir(org.ow2.petals.component.framework.api.message.Exchange exchange,
WrappedFTPClient client)
throws javax.jbi.messaging.MessagingException
exchange - the message exchange, MUST be non null
javax.jbi.messaging.MessagingException - bad MEP
public void processGet(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
throws javax.jbi.messaging.MessagingException
exchange - the message exchange, MUST be non nullconnectionInfo - inMessage -
javax.jbi.messaging.MessagingException - bad MEP
public void processGetAsAttachment(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
throws javax.jbi.messaging.MessagingException
exchange - the message exchange, MUST be non nullconnectionInfo - inMessage -
javax.jbi.messaging.MessagingException - bad MEP
public void processMGet(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
throws javax.jbi.messaging.MessagingException
exchange - connectionInfo - inMessage -
java.lang.Exception
javax.jbi.messaging.MessagingException
public void processMPut(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inputDocument,
WrappedFTPClient client)
throws javax.jbi.messaging.MessagingException
exchange - connectionInfo -
javax.jbi.messaging.MessagingException
public void processPut(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessage,
WrappedFTPClient client)
throws javax.jbi.messaging.MessagingException,
MissingElementException
exchange - fileName - connectionInfo - inMessage -
javax.jbi.messaging.MessagingException
MissingElementException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||