|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.bc.sftp.service.SFTPService
public class SFTPService
The SFTP JBI listener. Writes a file to SFTP server on incoming JBI message.
| Constructor Summary | |
|---|---|
SFTPService(java.util.logging.Logger logger)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
processDel(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
|
void |
processDIR(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient sshClient)
Lists files of the remote working directory. |
void |
processGET(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
Gets the specified file from the SFTP server. |
void |
processGetAsAttachment(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
Gets the specified file from the SFTP server. |
void |
processMGET(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
Gets the specified files from the SFTP server. |
void |
processMPUT(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
|
void |
processPUT(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
Puts the content on the incoming XML message into the specified file, on the SFTP server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SFTPService(java.util.logging.Logger logger)
logger - logger used to log informations relative to this class.| Method Detail |
|---|
public void processDIR(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient sshClient)
throws javax.jbi.messaging.MessagingException
exchange - the incoming message exchangeconnectionInfo - information on the SFTP server
javax.jbi.messaging.MessagingException - if any problem is spotted during execution
public void processPUT(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
throws javax.jbi.messaging.MessagingException
exchange - the incoming message exchangeconnectionInfo - information on the SFTP server
javax.jbi.messaging.MessagingException - if any problem is spotted during execution
public void processMPUT(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
throws javax.jbi.messaging.MessagingException
javax.jbi.messaging.MessagingException
public void processGET(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
throws javax.jbi.messaging.MessagingException,
ConfigurationException
exchange - the incoming message exchangeconnectionInfo - information on the SFTP server
javax.jbi.messaging.MessagingException - if any problem is spotted during execution
ConfigurationException
public void processGetAsAttachment(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
throws javax.jbi.messaging.MessagingException,
ConfigurationException
exchange - the incoming message exchangeconnectionInfo - information on the SFTP server
javax.jbi.messaging.MessagingException - if any problem is spotted during execution
ConfigurationException
public void processMGET(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
throws javax.jbi.messaging.MessagingException,
ConfigurationException
exchange - the incoming message exchangeconnectionInfo - information on the SFTP server
javax.jbi.messaging.MessagingException - if any problem is spotted during execution
ConfigurationException
public void processDel(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inDocument,
WrappedSftpClient client)
throws javax.jbi.messaging.MessagingException,
ConfigurationException
javax.jbi.messaging.MessagingException
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||