public class SmbSessionFactory extends SmbConfig implements org.springframework.integration.file.remote.session.SessionFactory<jcifs.smb.SmbFile>
| Constructor and Description |
|---|
SmbSessionFactory() |
SmbSessionFactory(jcifs.CIFSContext _context)
Initializes the SMB session factory with a custom client context configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected SmbSession |
createSession() |
SmbSession |
getSession() |
getDomain, getHost, getPassword, getPort, getShareAndDir, getSmbMaxVersion, getSmbMinVersion, getUrl, getUrl, getUsername, isReplaceFile, isUseTempFile, setDomain, setHost, setPassword, setPort, setReplaceFile, setShareAndDir, setSmbMaxVersion, setSmbMinVersion, setUsername, toString, validatepublic SmbSessionFactory()
public SmbSessionFactory(jcifs.CIFSContext _context)
_context - that holds the client configuration, shared services as well as the active credentialspublic final SmbSession getSession()
getSession in interface org.springframework.integration.file.remote.session.SessionFactory<jcifs.smb.SmbFile>protected SmbSession createSession() throws java.io.IOException
java.io.IOException