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, ComponentSourceAware, 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 IntegrationManagement
IntegrationManagement.ManagementOverrides -
Field Summary
Fields inherited from class AbstractEndpoint
lifecycleLockFields inherited from class IntegrationObjectSupport
EXPRESSION_PARSER, loggerFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface IntegrationManagement
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonInit()Subclasses may implement this for initialization logic.Methods inherited from class GatewayProxyFactoryBean
destroy, doInvoke, doStart, doStop, getAsyncExecutor, getComponentType, 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, setErrorOnTimeout, setGlobalMethodMetadata, setMapper, setMethodMetadataMap, setProxyDefaultMethods, setShouldTrackMethods inherited from class AbstractEndpoint
doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopMethods inherited from class IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FactoryBean
isSingletonMethods inherited from interface IntegrationManagement
getManagedName, getManagedType, getOverrides, getThisAs, isLoggingEnabled, isObserved, registerObservationRegistry, setLoggingEnabled, setManagedName, setManagedTypeMethods inherited from interface NamedComponent
getBeanName, getComponentNameMethods inherited from interface SmartLifecycle
isPauseable
-
Constructor Details
-
AnnotationGatewayProxyFactoryBean
-
-
Method Details
-
onInit
protected void onInit()Description copied from class:IntegrationObjectSupportSubclasses may implement this for initialization logic.- Overrides:
onInitin classGatewayProxyFactoryBean<T>
-