Class AnnotationGatewayProxyFactoryBean<T>
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.GatewayProxyFactoryBean<T>
org.springframework.integration.gateway.AnnotationGatewayProxyFactoryBean<T>
- Type Parameters:
T
- the target gateway interface to build a proxy against.
- All Implemented Interfaces:
Advice
,Interceptor
,MethodInterceptor
,Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<T>
,InitializingBean
,ApplicationContextAware
,Lifecycle
,Phased
,SmartLifecycle
,ExpressionCapable
,NamedComponent
,IntegrationManagement
,ManageableLifecycle
,ManageableSmartLifecycle
,TrackableComponent
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.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.integration.support.management.IntegrationManagement
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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.beans.factory.FactoryBean
isSingleton
Methods inherited from interface org.springframework.integration.support.management.IntegrationManagement
getManagedName, getManagedType, getOverrides, getThisAs, isLoggingEnabled, isObserved, registerObservationRegistry, setLoggingEnabled, setManagedName, setManagedType
Methods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName, getComponentType
-
Constructor Details
-
AnnotationGatewayProxyFactoryBean
-
-
Method Details
-
onInit
protected void onInit()Description copied from class:IntegrationObjectSupport
Subclasses may implement this for initialization logic.- Overrides:
onInit
in classGatewayProxyFactoryBean<T>
-