Class SmbSessionFactory
java.lang.Object
org.springframework.integration.smb.session.SmbConfig
org.springframework.integration.smb.session.SmbSessionFactory
- All Implemented Interfaces:
 SessionFactory<jcifs.smb.SmbFile>
The SMB session factory.
- Since:
 - 6.0
 - Author:
 - Markus Spann, Gregory Bragg, Artem Bilan
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSmbSessionFactory(jcifs.CIFSContext _context) Initializes the SMB session factory with a custom client context configuration. - 
Method Summary
Methods inherited from class org.springframework.integration.smb.session.SmbConfig
getDomain, getHost, getPassword, getPort, getShareAndDir, getSmbMaxVersion, getSmbMinVersion, getUrl, getUrl, getUsername, setDomain, setHost, setPassword, setPort, setShareAndDir, setSmbMaxVersion, setSmbMinVersion, setUsername, toString, validate 
- 
Constructor Details
- 
SmbSessionFactory
public SmbSessionFactory() - 
SmbSessionFactory
public SmbSessionFactory(jcifs.CIFSContext _context) Initializes the SMB session factory with a custom client context configuration.- Parameters:
 _context- that holds the client configuration, shared services as well as the active credentials
 
 - 
 - 
Method Details
- 
getSession
- Specified by:
 getSessionin interfaceSessionFactory<jcifs.smb.SmbFile>
 - 
createSession
- Throws:
 IOException
 
 -