Spring Integration

org.springframework.integration.rmi
Class RmiInboundGateway

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.gateway.AbstractMessagingGateway
              extended by org.springframework.integration.gateway.SimpleMessagingGateway
                  extended by org.springframework.integration.gateway.RemotingInboundGatewaySupport
                      extended by 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

Field Summary
static String SERVICE_NAME_PREFIX
           
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
RmiInboundGateway()
           
 
Method Summary
protected  void onInit()
          Subclasses may implement this for initialization logic.
 void setRegistryHost(String registryHost)
           
 void setRegistryPort(int registryPort)
           
 void setRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor)
           
 void setRequestChannel(MessageChannel requestChannel)
          Specify the request channel where messages will be sent.
 
Methods inherited from class org.springframework.integration.gateway.RemotingInboundGatewaySupport
exchange, setExpectReply
 
Methods inherited from class org.springframework.integration.gateway.SimpleMessagingGateway
fromMessage, sendAndReceive, sendAndReceiveMessage, toMessage
 
Methods inherited from class org.springframework.integration.gateway.AbstractMessagingGateway
doStart, doStop, getComponentType, receive, send, setExceptionMapper, setReplyChannel, setReplyTimeout, setRequestTimeout, setShouldThrowErrors
 
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, toString, writeMessageHistory
 
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
 

Field Detail

SERVICE_NAME_PREFIX

public static final String SERVICE_NAME_PREFIX
See Also:
Constant Field Values
Constructor Detail

RmiInboundGateway

public RmiInboundGateway()
Method Detail

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

Spring Integration

Copyright © 2010. All Rights Reserved.