org.springframework.integration.adapter
Class AbstractRemotingTargetAdapter
java.lang.Object
org.springframework.integration.adapter.AbstractRemotingTargetAdapter
- All Implemented Interfaces:
- org.springframework.integration.handler.MessageHandler
- Direct Known Subclasses:
- HttpInvokerTargetAdapter, RmiTargetAdapter
public abstract class AbstractRemotingTargetAdapter
- extends java.lang.Object
- implements org.springframework.integration.handler.MessageHandler
A base class for remoting target adapters.
- Author:
- Mark Fisher
Field Summary |
private org.springframework.integration.handler.MessageHandler |
handlerProxy
|
Method Summary |
protected abstract org.springframework.integration.handler.MessageHandler |
createHandlerProxy(java.lang.String url)
Subclasses must implement this method. |
org.springframework.integration.message.Message<?> |
handle(org.springframework.integration.message.Message<?> message)
|
private void |
verifySerializability(org.springframework.integration.message.Message<?> message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlerProxy
private final org.springframework.integration.handler.MessageHandler handlerProxy
AbstractRemotingTargetAdapter
public AbstractRemotingTargetAdapter(java.lang.String url)
createHandlerProxy
protected abstract org.springframework.integration.handler.MessageHandler createHandlerProxy(java.lang.String url)
- Subclasses must implement this method. It will be invoked from the constructor.
handle
public final org.springframework.integration.message.Message<?> handle(org.springframework.integration.message.Message<?> message)
- Specified by:
handle
in interface org.springframework.integration.handler.MessageHandler
verifySerializability
private void verifySerializability(org.springframework.integration.message.Message<?> message)