Class AnnotationGatewayProxyFactoryBean
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.GatewayProxyFactoryBean
org.springframework.integration.gateway.AnnotationGatewayProxyFactoryBean
- All Implemented Interfaces:
Advice
,Interceptor
,MethodInterceptor
,Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<Object>
,InitializingBean
,ApplicationContextAware
,Lifecycle
,Phased
,SmartLifecycle
,ExpressionCapable
,NamedComponent
,IntegrationManagement
,ManageableLifecycle
,ManageableSmartLifecycle
,TrackableComponent
public class AnnotationGatewayProxyFactoryBean extends GatewayProxyFactoryBean
A
GatewayProxyFactoryBean
extension for Java configuration.
The service interface may be marked with the MessagingGateway
annotation.
Otherwise the default state is applied.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.integration.support.management.IntegrationManagement
IntegrationManagement.ManagementOverrides
-
Field Summary
Fields inherited from class org.springframework.integration.endpoint.AbstractEndpoint
lifecycleCondition, lifecycleLock
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger
Fields inherited from interface org.springframework.integration.support.management.IntegrationManagement
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
-
Constructor Summary
Constructors Constructor Description AnnotationGatewayProxyFactoryBean(Class<?> serviceInterface)
-
Method Summary
Modifier and Type Method Description protected void
onInit()
Subclasses may implement this for initialization logic.Methods inherited from class org.springframework.integration.gateway.GatewayProxyFactoryBean
destroy, doInvoke, doStart, doStop, getAsyncExecutor, getDefaultReplyChannel, getDefaultReplyChannelName, getDefaultReplyTimeout, getDefaultRequestChannel, getDefaultRequestChannelName, getDefaultRequestTimeout, getErrorChannel, getErrorChannelName, getGateways, getGlobalMethodMetadata, getMapper, getObject, getObjectType, invoke, isAsyncExecutorExplicitlySet, registerMetricsCaptor, setAsyncExecutor, setBeanClassLoader, setDefaultReplyChannel, setDefaultReplyChannelName, setDefaultReplyTimeout, setDefaultReplyTimeoutExpression, setDefaultReplyTimeoutExpressionString, setDefaultRequestChannel, setDefaultRequestChannelName, setDefaultRequestTimeout, setDefaultRequestTimeoutExpression, setDefaultRequestTimeoutExpressionString, setErrorChannel, setErrorChannelName, setGlobalMethodMetadata, setMapper, setMethodMetadataMap, setProxyDefaultMethods, setShouldTrack, setTypeConverter
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.integration.support.management.IntegrationManagement
getManagedName, getManagedType, getOverrides, getThisAs, isLoggingEnabled, setLoggingEnabled, setManagedName, setManagedType
Methods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName, getComponentType
-
Constructor Details
-
Method Details
-
onInit
protected void onInit()Description copied from class:IntegrationObjectSupport
Subclasses may implement this for initialization logic.- Overrides:
onInit
in classGatewayProxyFactoryBean
-