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.adapter.RemotingInboundGatewaySupport
org.springframework.integration.rmi.RmiInboundGateway
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, RemoteMessageHandler, MessagingGateway
public class RmiInboundGateway
- extends RemotingInboundGatewaySupport
- implements org.springframework.beans.factory.InitializingBean
An inbound Messaging Gateway for RMI-based remoting.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.InitializingBean |
afterPropertiesSet |
SERVICE_NAME_PREFIX
public static final java.lang.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(java.lang.String registryHost)
setRegistryPort
public void setRegistryPort(int registryPort)
setRemoteInvocationExecutor
public void setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
onInit
protected void onInit()
throws java.lang.Exception
- Overrides:
onInit
in class AbstractMessagingGateway
- Throws:
java.lang.Exception