| java.lang.Object org.springframework.remoting.support.RemoteExporter org.springframework.remoting.support.RemoteInvocationBasedExporter
All known Subclasses: org.springframework.jms.remoting.JmsInvokerServiceExporter, org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter, org.springframework.remoting.rmi.RmiBasedExporter,
Method Summary | |
public RemoteInvocationExecutor | getRemoteInvocationExecutor() Return the RemoteInvocationExecutor used by this exporter. | protected Object | invoke(RemoteInvocation invocation, Object targetObject) Apply the given remote invocation to the given target object.
The default implementation delegates to the RemoteInvocationExecutor.
Can be overridden in subclasses for custom invocation behavior,
possibly for applying additional invocation parameters from a
custom RemoteInvocation subclass. | protected RemoteInvocationResult | invokeAndCreateResult(RemoteInvocation invocation, Object targetObject) Apply the given remote invocation to the given target object, wrapping
the invocation result in a serializable RemoteInvocationResult object.
The default implementation creates a plain RemoteInvocationResult.
Can be overridden in subclasses for custom invocation behavior,
for example to return additional context information. | public void | setRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor) Set the RemoteInvocationExecutor to use for this exporter. |
getRemoteInvocationExecutor | public RemoteInvocationExecutor getRemoteInvocationExecutor()(Code) | | Return the RemoteInvocationExecutor used by this exporter.
|
invokeAndCreateResult | protected RemoteInvocationResult invokeAndCreateResult(RemoteInvocation invocation, Object targetObject)(Code) | | Apply the given remote invocation to the given target object, wrapping
the invocation result in a serializable RemoteInvocationResult object.
The default implementation creates a plain RemoteInvocationResult.
Can be overridden in subclasses for custom invocation behavior,
for example to return additional context information. Note that this
is not covered by the RemoteInvocationExecutor strategy!
Parameters: invocation - the remote invocation Parameters: targetObject - the target object to apply the invocation to the invocation result See Also: RemoteInvocationBasedExporter.invoke |
setRemoteInvocationExecutor | public void setRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor)(Code) | | Set the RemoteInvocationExecutor to use for this exporter.
Default is a DefaultRemoteInvocationExecutor.
A custom invocation executor can extract further context information
from the invocation, for example user credentials.
|
Fields inherited from org.springframework.remoting.support.RemoteExporter | final protected Log logger(Code)(Java Doc)
|
|
|