Class RmiInboundGateway
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.MessagingGatewaySupport
org.springframework.integration.rmi.RmiInboundGateway
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,InitializingBean
,ApplicationContextAware
,Lifecycle
,Phased
,SmartLifecycle
,ExpressionCapable
,RequestReplyExchanger
,IntegrationPattern
,NamedComponent
,IntegrationInboundManagement
,IntegrationManagement
,ManageableLifecycle
,ManageableSmartLifecycle
,TrackableComponent
@Deprecated public class RmiInboundGateway extends MessagingGatewaySupport implements RequestReplyExchanger
Deprecated.
since 5.4 with no replacement.
An inbound Messaging Gateway for RMI-based remoting.
- Author:
- Mark Fisher, Artem Bilan, Gary Russell
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.integration.support.management.IntegrationManagement
IntegrationManagement.ManagementOverrides
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME_PREFIX
Deprecated.Fields inherited from class org.springframework.integration.gateway.MessagingGatewaySupport
messagingTemplate
Fields inherited from class org.springframework.integration.endpoint.AbstractEndpoint
lifecycleCondition, lifecycleLock
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger
Fields inherited from interface org.springframework.integration.support.management.IntegrationManagement
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
-
Constructor Summary
Constructors Constructor Description RmiInboundGateway()
Deprecated. -
Method Summary
Modifier and Type Method Description void
destroy()
Deprecated.Message<?>
exchange(Message<?> message)
Deprecated.String
getComponentType()
Deprecated.Subclasses may implement this method to provide component type information.protected void
onInit()
Deprecated.Subclasses may implement this for initialization logic.void
setExpectReply(boolean expectReply)
Deprecated.Specify whether the gateway should be expected to return a reply.void
setRegistryHost(String registryHost)
Deprecated.void
setRegistryPort(int registryPort)
Deprecated.void
setRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor)
Deprecated.void
setRequestChannel(MessageChannel requestChannel)
Deprecated.Specify the request channel where messages will be sent.void
setRequestChannelName(String requestChannelName)
Deprecated.Set the request channel name.Methods inherited from class org.springframework.integration.gateway.MessagingGatewaySupport
buildErrorMessage, buildSendTimer, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getIntegrationPatternType, getManagedName, getManagedType, getOverrides, getReplyChannel, getRequestChannel, isLoggingEnabled, receive, receive, receiveMessage, receiveMessage, registerMetricsCaptor, registerReplyMessageCorrelatorIfNecessary, send, sendAndReceive, sendAndReceiveMessage, sendAndReceiveMessageReactive, sendTimer, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setErrorOnTimeout, setLoggingEnabled, setManagedName, setManagedType, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestMapper, setRequestTimeout, setShouldTrack
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.integration.support.management.IntegrationManagement
getThisAs
Methods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName
-
Field Details
-
SERVICE_NAME_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
RmiInboundGateway
public RmiInboundGateway()Deprecated.
-
-
Method Details
-
setRequestChannel
Deprecated.Specify the request channel where messages will be sent. It must not benull
, and it must have a name.- Overrides:
setRequestChannel
in classMessagingGatewaySupport
- Parameters:
requestChannel
- the channel to which request messages will be sent
-
setRequestChannelName
Deprecated.Description copied from class:MessagingGatewaySupport
Set the request channel name.- Overrides:
setRequestChannelName
in classMessagingGatewaySupport
- Parameters:
requestChannelName
- the channel bean name to which request messages will be sent
-
setExpectReply
public void setExpectReply(boolean expectReply)Deprecated.Specify whether the gateway should be expected to return a reply. The default is 'true
'.- Parameters:
expectReply
- true when a reply is expected.
-
setRegistryHost
Deprecated. -
setRegistryPort
public void setRegistryPort(int registryPort)Deprecated. -
setRemoteInvocationExecutor
Deprecated. -
getComponentType
Deprecated.Description copied from class:IntegrationObjectSupport
Subclasses may implement this method to provide component type information.- Specified by:
getComponentType
in interfaceNamedComponent
- Overrides:
getComponentType
in classMessagingGatewaySupport
-
onInit
protected void onInit()Deprecated.Description copied from class:IntegrationObjectSupport
Subclasses may implement this for initialization logic.- Overrides:
onInit
in classMessagingGatewaySupport
-
exchange
Deprecated.- Specified by:
exchange
in interfaceRequestReplyExchanger
-
destroy
public void destroy()Deprecated.- Specified by:
destroy
in interfaceDisposableBean
- Specified by:
destroy
in interfaceIntegrationManagement
- Overrides:
destroy
in classMessagingGatewaySupport
-