クラス SmbOutboundGateway
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.MessageHandlerSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.handler.AbstractMessageProducingHandler
org.springframework.integration.handler.AbstractReplyProducingMessageHandler
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>
org.springframework.integration.smb.outbound.SmbOutboundGateway
- 実装済みのインターフェース一覧:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ComponentSourceAware, ExpressionCapable, Orderable, MessageProducer, HeaderPropagationAware, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>
public class SmbOutboundGateway
extends AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>
SMB 経由で リモートファイル操作を実行するための送信 ゲートウェイ。
- 導入:
- 6.0
- 作成者:
- Gregory Bragg, Artem Bilan, Daniel Frey
ネストされたクラスの概要
クラス AbstractRemoteFileOutboundGateway から継承されたネストクラス / インターフェース
AbstractRemoteFileOutboundGateway.Command, AbstractRemoteFileOutboundGateway.Optionクラス AbstractReplyProducingMessageHandler から継承されたネストクラス / インターフェース
AbstractReplyProducingMessageHandler.RequestHandlerインターフェース IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールド概要
クラス AbstractMessageProducingHandler から継承されたフィールド
messagingTemplateクラス IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEインターフェース Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEコンストラクター概要
コンストラクターコンストラクター説明SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, StringSE command) 提供されたリモートファイルテンプレートとコマンド('ls'、'nlst'、'put' または 'mput' )を使用してインスタンスを構築します。SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, StringSE command, @Nullable StringSE expression) 提供された リモートファイルテンプレート、コマンド ('ls'、'get' など)、リモートパスを決定する式を使用してインスタンスを構築します。SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, MessageSessionCallback<org.codelibs.jcifs.smb.impl.SmbFile, ?> messageSessionCallback) 提供されたリモートファイルテンプレートと、セッションで操作を実行するためのコールバックを使用してインスタンスを構築します。SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, StringSE command) 提供されたセッションファクトリとコマンド('ls'、'nlst'、'put' または 'mput' )を使用してインスタンスを構築します。SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, StringSE command, @Nullable StringSE expression) 提供されたセッションファクトリ、コマンド ( "ls"、"get" など)、リモートパスを決定する式を使用してインスタンスを構築します。SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, MessageSessionCallback<org.codelibs.jcifs.smb.impl.SmbFile, ?> messageSessionCallback) 提供されたセッションファクトリとセッションで操作を実行するためのコールバックを使用してインスタンスを構築します。方法の概要
修飾子と型メソッド説明protected ListSE<AbstractFileInfo<org.codelibs.jcifs.smb.impl.SmbFile>> asFileInfoList(CollectionSE<org.codelibs.jcifs.smb.impl.SmbFile> files) protected org.codelibs.jcifs.smb.impl.SmbFileenhanceNameWithSubDirectory(org.codelibs.jcifs.smb.impl.SmbFile file, StringSE directory) protected StringSEgetFilename(org.codelibs.jcifs.smb.impl.SmbFile file) protected StringSEgetFilename(AbstractFileInfo<org.codelibs.jcifs.smb.impl.SmbFile> file) protected StringSEgetFullFileName(@Nullable StringSE remoteDirectory, org.codelibs.jcifs.smb.impl.SmbFile smbFile) デフォルトでは、このメソッドは リモートファイル名を使用して リモートディレクトリにアクセスし、完全な リモートファイルパスを構築します。protected longgetModified(org.codelibs.jcifs.smb.impl.SmbFile file) protected booleanisDirectory(org.codelibs.jcifs.smb.impl.SmbFile file) protected booleanisLink(org.codelibs.jcifs.smb.impl.SmbFile file) 現在、シンボリックリンクは JCIFS v2.x.x 依存ライブラリではサポートされていないため、このメソッドは常に false を返します。クラス AbstractRemoteFileOutboundGateway から継承されたメソッド
assertRemoteFileTemplateMutability, doChmod, doInit, filterFile, filterFiles, filterMputFiles, get, getRemoteFilename, getRemoteFileTemplate, handleRequestMessage, isChmodCapable, ls, mGet, mPut, mv, nlst, purgeDots, purgeLinks, put, remoteFileTemplateExplicitlySet, rm, setAutoCreateDirectory, setAutoCreateLocalDirectory, setCharset, setChmod, setChmodOctal, setFileExistsMode, setFileExistsModeExpression, setFileExistsModeExpressionString, setFileNameExpression, setFileNameGenerator, setFilter, setLocalDirectory, setLocalDirectoryExpression, setLocalDirectoryExpressionString, setLocalFilenameGeneratorExpression, setLocalFilenameGeneratorExpressionString, setMputFilter, setOption, setOptions, setRemoteDirectoryExpression, setRemoteFileSeparator, setRenameExpression, setRenameExpressionString, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setUseTemporaryFileNameクラス AbstractReplyProducingMessageHandler から継承されたメソッド
doInvokeAdvisedRequestHandler, getBeanClassLoader, getIntegrationPatternType, getRequiresReply, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReplyクラス AbstractMessageProducingHandler から継承されたメソッド
addNotPropagatedHeaders, createOutputMessage, getNotPropagatedHeaders, getOutputChannel, isAsync, messageBuilderForReply, produceOutput, resolveErrorChannel, sendErrorMessage, sendOutput, sendOutputs, setAsync, setNotPropagatedHeaders, setOutputChannel, setOutputChannelName, setSendTimeout, setupMessageProcessor, shouldCopyRequestHeaders, shouldSplitOutput, updateNotPropagatedHeadersクラス AbstractMessageHandler から継承されたメソッド
handleMessage, onComplete, onError, onNext, onSubscribe, setObservationConventionクラス MessageHandlerSupport から継承されたメソッド
buildSendTimer, destroy, getManagedName, getManagedType, getMetricsCaptor, getObservationRegistry, getOrder, getOverrides, isLoggingEnabled, isObserved, registerMetricsCaptor, registerObservationRegistry, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrackクラス IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース reactor.core.CoreSubscriber から継承されたメソッド
currentContextインターフェース IntegrationManagement から継承されたメソッド
getThisAsインターフェース NamedComponent から継承されたメソッド
getBeanName, getComponentName
コンストラクターの詳細
SmbOutboundGateway
public SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, MessageSessionCallback<org.codelibs.jcifs.smb.impl.SmbFile, ?> messageSessionCallback) 提供されたセッションファクトリとセッションで操作を実行するためのコールバックを使用してインスタンスを構築します。- パラメーター:
sessionFactory- セッションファクトリ。messageSessionCallback- コールバック。
SmbOutboundGateway
public SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, MessageSessionCallback<org.codelibs.jcifs.smb.impl.SmbFile, ?> messageSessionCallback) 提供されたリモートファイルテンプレートと、セッションで操作を実行するためのコールバックを使用してインスタンスを構築します。- パラメーター:
remoteFileTemplate- リモートファイルテンプレート。messageSessionCallback- コールバック。
SmbOutboundGateway
public SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, StringSE command, @Nullable StringSE expression) 提供されたセッションファクトリ、コマンド ( "ls"、"get" など)、リモートパスを決定する式を使用してインスタンスを構築します。- パラメーター:
sessionFactory- セッションファクトリ。command- コマンド。expression- リモートパス式。
SmbOutboundGateway
public SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, StringSE command, @Nullable StringSE expression) 提供された リモートファイルテンプレート、コマンド ('ls'、'get' など)、リモートパスを決定する式を使用してインスタンスを構築します。- パラメーター:
remoteFileTemplate- リモートファイルテンプレート。command- コマンド。expression- リモートパス式。
SmbOutboundGateway
public SmbOutboundGateway(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory, StringSE command) 提供されたセッションファクトリとコマンド('ls'、'nlst'、'put' または 'mput' )を使用してインスタンスを構築します。remoteDirectory式は、SMB クライアントからworkingDirectoryを使用することを想定したnullです。- パラメーター:
sessionFactory- セッションファクトリ。command- コマンド。
SmbOutboundGateway
public SmbOutboundGateway(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> remoteFileTemplate, StringSE command) 提供されたリモートファイルテンプレートとコマンド('ls'、'nlst'、'put' または 'mput' )を使用してインスタンスを構築します。remoteDirectory式は、SMB クライアントからworkingDirectoryを使用することを想定したnullです。- パラメーター:
remoteFileTemplate- リモートファイルテンプレート。command- コマンド。
方法の詳細
getComponentType
- 次で指定:
- インターフェース
NamedComponent内のgetComponentType - オーバーライド:
- クラス
MessageHandlerSupportのgetComponentType
isDirectory
protected boolean isDirectory(org.codelibs.jcifs.smb.impl.SmbFile file) - 次で指定:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のisDirectory
isLink
protected boolean isLink(org.codelibs.jcifs.smb.impl.SmbFile file) 現在、シンボリックリンクは JCIFS v2.x.x 依存ライブラリではサポートされていないため、このメソッドは常に false を返します。- 次で指定:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のisLink - 戻り値:
- false
getFilename
- 次で指定:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のgetFilename
getFilename
- 次で指定:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のgetFilename
getModified
protected long getModified(org.codelibs.jcifs.smb.impl.SmbFile file) - 次で指定:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のgetModified
asFileInfoList
protected ListSE<AbstractFileInfo<org.codelibs.jcifs.smb.impl.SmbFile>> asFileInfoList(CollectionSE<org.codelibs.jcifs.smb.impl.SmbFile> files) - 次で指定:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のasFileInfoList
enhanceNameWithSubDirectory
protected org.codelibs.jcifs.smb.impl.SmbFile enhanceNameWithSubDirectory(org.codelibs.jcifs.smb.impl.SmbFile file, StringSE directory) - 次で指定:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のenhanceNameWithSubDirectory
getFullFileName
protected StringSE getFullFileName(@Nullable StringSE remoteDirectory, org.codelibs.jcifs.smb.impl.SmbFile smbFile) クラスからコピーされた説明:AbstractRemoteFileOutboundGatewayデフォルトでは、このメソッドは リモートファイル名を使用して リモートディレクトリにアクセスし、完全な リモートファイルパスを構築します。リモートファイルプロトコル固有の実装は、他のアプローチのためにこのメソッドをオーバーライドする場合があります。- オーバーライド:
- クラス
AbstractRemoteFileOutboundGateway<org.codelibs.jcifs.smb.impl.SmbFile>のgetFullFileName - パラメーター:
remoteDirectory- リモートファイルが属するディレクトリ。smbFile- リモートファイルに名前を付け、指定された リモートディレクトリに従ってパスを調整します。- 戻り値:
- リモートファイルのフルパス