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 SummaryConstructorsConstructorDescriptionSmbSessionFactory(jcifs.CIFSContext _context) Initializes the SMB session factory with a custom client context configuration.
- 
Method SummaryMethods inherited from class org.springframework.integration.smb.session.SmbConfiggetDomain, getHost, getPassword, getPort, getShareAndDir, getSmbMaxVersion, getSmbMinVersion, getUrl, getUrl, getUsername, rawUrl, rawUrl, setDomain, setHost, setPassword, setPort, setShareAndDir, setSmbMaxVersion, setSmbMinVersion, setUsername, toString, validate
- 
Constructor Details- 
SmbSessionFactorypublic SmbSessionFactory()
- 
SmbSessionFactorypublic 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 interface- SessionFactory<jcifs.smb.SmbFile>
 
- 
createSession- Throws:
- IOException
 
 
-