Interface SharedSessionCapable
- All Known Implementing Classes:
DefaultSftpSessionFactory
public interface SharedSessionCapable
A
SessionFactory that implements this interface is capable of supporting a shared session.- Since:
- 3.0
- Author:
- Gary Russell
-
Method Summary
Modifier and Type Method Description booleanisSharedSession()voidresetSharedSession()Resets the shared session so the next#getSession()will return a session using a new connection.
-
Method Details
-
isSharedSession
boolean isSharedSession()- Returns:
- true if this factory uses a shared session.
-
resetSharedSession
void resetSharedSession()Resets the shared session so the next#getSession()will return a session using a new connection.
-