org.springframework.integration.context
Class IntegrationObjectSupport
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
- AbstractEndpoint, MessageHandlerChain
public abstract class IntegrationObjectSupport
- extends java.lang.Object
- implements org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.BeanFactoryAware
A base class that provides convenient access to the bean factory as
well as ChannelResolver
and TaskScheduler
instances.
This is intended to be used as a base class for internal framework
components whereas code built upon the integration framework should not
require tight coupling with the context but rather rely on standard
dependency injection.
- Author:
- Mark Fisher
Field Summary |
protected org.apache.commons.logging.Log |
logger
Logger that is available to subclasses |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
- Logger that is available to subclasses
IntegrationObjectSupport
public IntegrationObjectSupport()
setBeanName
public void setBeanName(java.lang.String beanName)
- Specified by:
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
getBeanName
protected java.lang.String getBeanName()
setBeanFactory
public final void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
getChannelResolver
protected ChannelResolver getChannelResolver()
getTaskScheduler
protected TaskScheduler getTaskScheduler()
setTaskScheduler
protected void setTaskScheduler(TaskScheduler taskScheduler)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object