Class IntegrationComponentSpec<S extends IntegrationComponentSpec<S,T>,T>  
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,T> 
- Type Parameters:
- S- the target- IntegrationComponentSpecimplementation type.
- T- the target type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<T>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
- Direct Known Subclasses:
- AbstractConnectionFactorySpec,- BroadcastPublishSubscribeSpec,- EndpointSpec,- JmsDestinationAccessorSpec,- JmsOutboundGatewaySpec.ReplyContainerSpec,- KafkaMessageListenerContainerSpec,- KafkaTemplateSpec,- MessageChannelSpec,- MessageHandlerSpec,- MessageListenerContainerSpec,- MessageProcessorSpec,- MessageProducerSpec,- MessageSourceSpec,- MessagingGatewaySpec,- PollerSpec,- WireTapSpec
@IntegrationDsl
public abstract class IntegrationComponentSpec<S extends IntegrationComponentSpec<S,T>,T>  
extends Object
implements FactoryBean<T>, InitializingBean, DisposableBean, SmartLifecycle
The common Builder abstraction.
 If used as a bean definition, must be treated as an 
FactoryBean,
 therefore its getObject() method must not be called in the target configuration.- Since:
- 5.0
- Author:
- Artem Bilan
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final Logprotected static final SpelExpressionParserprotected TFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected final S_this()voidvoiddestroy()protected TdoGet()final StringgetId()!!! This method must not be called from the target configuration !!!Class<?> intgetPhase()protected SConfigure the component identifier.booleanbooleanvoidstart()voidstop()voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Field Details- 
PARSER
- 
logger
- 
target
 
- 
- 
Constructor Details- 
IntegrationComponentSpecpublic IntegrationComponentSpec()
 
- 
- 
Method Details- 
id
- 
getId
- 
getObjectType- Specified by:
- getObjectTypein interface- FactoryBean<S extends IntegrationComponentSpec<S,- T>> 
 
- 
getObject!!! This method must not be called from the target configuration !!!- Specified by:
- getObjectin interface- FactoryBean<S extends IntegrationComponentSpec<S,- T>> 
- Returns:
- the object backed by this factory bean.
 
- 
afterPropertiesSetpublic void afterPropertiesSet()- Specified by:
- afterPropertiesSetin interface- InitializingBean
 
- 
destroypublic void destroy()- Specified by:
- destroyin interface- DisposableBean
 
- 
start
- 
stop
- 
isRunning
- 
isAutoStartuppublic boolean isAutoStartup()- Specified by:
- isAutoStartupin interface- SmartLifecycle
 
- 
stop- Specified by:
- stopin interface- SmartLifecycle
 
- 
getPhasepublic int getPhase()- Specified by:
- getPhasein interface- Phased
- Specified by:
- getPhasein interface- SmartLifecycle
 
- 
_this
- 
doGet
 
-