|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.component.framework.listener.AbstractListener
org.ow2.petals.component.framework.listener.AbstractJBIListener
org.ow2.petals.bc.sftp.listeners.JBIListener
public class JBIListener
The SFTP JBI listener. Writes a file to SFTP server on incoming JBI message.
| Field Summary |
|---|
| Fields inherited from class org.ow2.petals.component.framework.listener.AbstractListener |
|---|
component, factory, messageInterceptorProcessor |
| Constructor Summary | |
|---|---|
JBIListener()
|
|
| Method Summary | |
|---|---|
void |
init()
Initialize the JBI Listener. |
boolean |
onJBIMessage(org.ow2.petals.component.framework.api.message.Exchange exchange)
Process the exchange depending on the operation : dir return the filenames list or the remote directory get return the remote file with the name specified in the exchange (as attachment or source, depending on the SU property) mget return all the remote files put put the message mput put attachments |
| Methods inherited from class org.ow2.petals.component.framework.listener.AbstractJBIListener |
|---|
onAsyncJBIMessage, onExpiredAsyncJBIMessage |
| Methods inherited from class org.ow2.petals.component.framework.listener.AbstractListener |
|---|
createConsumeExchange, createConsumeExchange, createExchange, getComponent, getComponentContext, getConsumes, getCurrentTransaction, getExtensions, getInstallRoot, getLogger, getMessageInterceptorProcessor, getProvides, init, retrievePattern, send, sendAsync, sendSync, sendSync, setConsumes, setCurrentTransaction, setExtensions, setProvides |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JBIListener()
| Method Detail |
|---|
public void init()
init in class org.ow2.petals.component.framework.listener.AbstractListenerpublic boolean onJBIMessage(org.ow2.petals.component.framework.api.message.Exchange exchange)
onJBIMessage in class org.ow2.petals.component.framework.listener.AbstractJBIListenerexchange - message received by the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||