org.springframework.integration.rmi
Class RmiInboundGateway
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.AbstractMessagingGateway
org.springframework.integration.gateway.SimpleMessagingGateway
org.springframework.integration.gateway.RemotingInboundGatewaySupport
org.springframework.integration.rmi.RmiInboundGateway
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, RequestReplyExchanger, NamedComponent
public class RmiInboundGateway
- extends RemotingInboundGatewaySupport
- implements InitializingBean
An inbound Messaging Gateway for RMI-based remoting.
- Author:
- Mark Fisher
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, toString, writeMessageHistory |
SERVICE_NAME_PREFIX
public static final String SERVICE_NAME_PREFIX
- See Also:
- Constant Field Values
RmiInboundGateway
public RmiInboundGateway()
setRequestChannel
public void setRequestChannel(MessageChannel requestChannel)
- Specify the request channel where messages will be sent.
It must not be
null
, and it must have a name.
- Overrides:
setRequestChannel
in class AbstractMessagingGateway
- Parameters:
requestChannel
- the channel to which request messages will be sent
setRegistryHost
public void setRegistryHost(String registryHost)
setRegistryPort
public void setRegistryPort(int registryPort)
setRemoteInvocationExecutor
public void setRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor)
onInit
protected void onInit()
throws Exception
- Description copied from class:
IntegrationObjectSupport
- Subclasses may implement this for initialization logic.
- Overrides:
onInit
in class AbstractMessagingGateway
- Throws:
Exception
Copyright © 2010. All Rights Reserved.