org.springframework.remoting.support.DefaultRemoteInvocationFactory Java Examples

The following examples show how to use org.springframework.remoting.support.DefaultRemoteInvocationFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JmsInvokerClientInterceptor.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Set the {@link RemoteInvocationFactory} to use for this accessor.
 * <p>Default is a {@link DefaultRemoteInvocationFactory}.
 * <p>A custom invocation factory can add further context information
 * to the invocation, for example user credentials.
 */
public void setRemoteInvocationFactory(@Nullable RemoteInvocationFactory remoteInvocationFactory) {
	this.remoteInvocationFactory =
			(remoteInvocationFactory != null ? remoteInvocationFactory : new DefaultRemoteInvocationFactory());
}
 
Example #2
Source File: JmsInvokerClientInterceptor.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Set the {@link RemoteInvocationFactory} to use for this accessor.
 * <p>Default is a {@link DefaultRemoteInvocationFactory}.
 * <p>A custom invocation factory can add further context information
 * to the invocation, for example user credentials.
 */
public void setRemoteInvocationFactory(@Nullable RemoteInvocationFactory remoteInvocationFactory) {
	this.remoteInvocationFactory =
			(remoteInvocationFactory != null ? remoteInvocationFactory : new DefaultRemoteInvocationFactory());
}
 
Example #3
Source File: JmsInvokerClientInterceptor.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Set the {@link RemoteInvocationFactory} to use for this accessor.
 * <p>Default is a {@link DefaultRemoteInvocationFactory}.
 * <p>A custom invocation factory can add further context information
 * to the invocation, for example user credentials.
 */
public void setRemoteInvocationFactory(RemoteInvocationFactory remoteInvocationFactory) {
	this.remoteInvocationFactory =
			(remoteInvocationFactory != null ? remoteInvocationFactory : new DefaultRemoteInvocationFactory());
}