|
Spring Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SftpSessionPool
Holds instances of SftpSession since they're stateful
and might be in use while another run happens.
| Method Summary | |
|---|---|
SftpSession |
getSession()
this returns a session that can be used to connct to an sftp instance and perform operations |
void |
release(SftpSession session)
Frees up the client. |
| Method Detail |
|---|
SftpSession getSession()
throws Exception
Exception - thrown if theres any of the numerous faults possible when trying to connect to the remote
servervoid release(SftpSession session)
(session
,channel).disconnect() ?
session - the session to relinquish / renew
|
Spring Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||