Class SftpSupplierFactoryConfiguration
java.lang.Object
org.springframework.cloud.fn.supplier.sftp.SftpSupplierFactoryConfiguration
Session factory configuration.
- Author:
- Gary Russell, Artem Bilan, David Turanski, Corneil du Plessis
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelegatingFactoryWrapper
(SftpSupplierProperties properties, org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> defaultFactory, ApplicationContext applicationContext) rotatingAdvice
(SftpSupplierProperties properties, org.springframework.integration.file.remote.aop.StandardRotationPolicy rotationPolicy) org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry>
sftpSessionFactory
(SftpSupplierProperties properties, ApplicationContext applicationContext)
-
Constructor Details
-
SftpSupplierFactoryConfiguration
public SftpSupplierFactoryConfiguration()
-
-
Method Details
-
sftpSessionFactory
@Bean @ConditionalOnMissingBean public org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sftpSessionFactory(SftpSupplierProperties properties, ApplicationContext applicationContext) -
delegatingFactoryWrapper
@Bean public SftpSupplierFactoryConfiguration.DelegatingFactoryWrapper delegatingFactoryWrapper(SftpSupplierProperties properties, org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> defaultFactory, ApplicationContext applicationContext) -
rotatingAdvice
@Bean public SftpSupplierRotator rotatingAdvice(SftpSupplierProperties properties, @Nullable org.springframework.integration.file.remote.aop.StandardRotationPolicy rotationPolicy)
-