S - the target IntegrationComponentSpec implementation type.T - the target type.public abstract class IntegrationComponentSpec<S extends IntegrationComponentSpec<S,T>,T>
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<T>
get() method returns the final component.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
protected org.apache.commons.logging.Log |
logger |
protected static org.springframework.expression.spel.standard.SpelExpressionParser |
PARSER |
protected T |
target |
| Constructor and Description |
|---|
IntegrationComponentSpec() |
| Modifier and Type | Method and Description |
|---|---|
protected S |
_this() |
protected T |
doGet() |
T |
get() |
java.lang.String |
getId() |
T |
getObject() |
java.lang.Class<?> |
getObjectType() |
protected S |
id(java.lang.String id)
Configure the component identifier.
|
boolean |
isSingleton() |
protected static final org.springframework.expression.spel.standard.SpelExpressionParser PARSER
protected final org.apache.commons.logging.Log logger
protected volatile T target
protected java.lang.String id
protected S id(java.lang.String id)
beanName to register the
bean in the application context for this component.id - the id.public final java.lang.String getId()
public final T get()
public T getObject() throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<T>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<T>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<T>protected final S _this()
protected T doGet()