|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationObjectSupport org.springframework.integration.endpoint.AbstractEndpoint org.springframework.integration.gateway.GatewayProxyFactoryBean
public class GatewayProxyFactoryBean
Generates a proxy for the provided service interface to enable interaction with messaging components without application code being aware of them.
Field Summary |
---|
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
GatewayProxyFactoryBean()
|
Method Summary | |
---|---|
protected void |
doStart()
Subclasses must implement this method with the start behavior. |
protected void |
doStop()
Subclasses must implement this method with the stop behavior. |
java.lang.Object |
getObject()
|
java.lang.Class<?> |
getObjectType()
|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
|
boolean |
isSingleton()
|
protected void |
onInit()
|
void |
setBeanClassLoader(java.lang.ClassLoader beanClassLoader)
|
void |
setDefaultReplyChannel(MessageChannel defaultReplyChannel)
Set the default reply channel. |
void |
setDefaultReplyTimeout(long defaultReplyTimeout)
Set the default timeout value for receiving reply messages. |
void |
setDefaultRequestChannel(MessageChannel defaultRequestChannel)
Set the default request channel. |
void |
setDefaultRequestTimeout(long defaultRequestTimeout)
Set the default timeout value for sending request messages. |
void |
setServiceInterface(java.lang.Class<?> serviceInterface)
|
void |
setTypeConverter(org.springframework.beans.TypeConverter typeConverter)
|
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
---|
afterPropertiesSet, isRunning, setAutoStartup, setTaskScheduler, start, stop |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
getBeanFactory, getBeanName, getChannelResolver, getTaskScheduler, setBeanFactory, setBeanName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GatewayProxyFactoryBean()
Method Detail |
---|
public void setServiceInterface(java.lang.Class<?> serviceInterface)
public void setDefaultRequestChannel(MessageChannel defaultRequestChannel)
defaulRequestChannel
- the channel to which request messages will
be sent if no request channel has been configured with an annotationpublic void setDefaultReplyChannel(MessageChannel defaultReplyChannel)
replyChannel
- the channel from which reply messages will be
received if no reply channel has been configured with an annotationpublic void setDefaultRequestTimeout(long defaultRequestTimeout)
defaultRequestTimeout
- the timeout value in millisecondspublic void setDefaultReplyTimeout(long defaultReplyTimeout)
defaultReplyTimeout
- the timeout value in millisecondspublic void setTypeConverter(org.springframework.beans.TypeConverter typeConverter)
public void setBeanClassLoader(java.lang.ClassLoader beanClassLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
protected void onInit() throws java.lang.Exception
onInit
in class AbstractEndpoint
java.lang.Exception
public java.lang.Object getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
java.lang.Exception
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
java.lang.Throwable
protected void doStart()
AbstractEndpoint
AbstractEndpoint.lifecycleLock
.
doStart
in class AbstractEndpoint
protected void doStop()
AbstractEndpoint
AbstractEndpoint.lifecycleLock
.
doStop
in class AbstractEndpoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |