net.sf.seide.ext.spring3
Class DispatcherFactoryBean
java.lang.Object
net.sf.seide.ext.spring3.DispatcherFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<Dispatcher>, org.springframework.context.ApplicationContextAware
public class DispatcherFactoryBean
- extends Object
- implements org.springframework.beans.factory.FactoryBean<Dispatcher>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
A FactoryBean that creates a Dispatcher configured with the ThreadPoolExecutorFactory and
exploring the context to retrieve automatically the Stages with the same context that this bean.
- Author:
- german.kondolf
- See Also:
Dispatcher},
DispatcherFactory},
ThreadPoolExecutorFactory}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DispatcherFactoryBean
public DispatcherFactoryBean()
getObject
public Dispatcher getObject()
throws Exception
- Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<Dispatcher>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<Dispatcher>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<Dispatcher>
getContext
public String getContext()
setContext
public void setContext(String context)
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
destroy
public void destroy()
throws Exception
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
Copyright © 2011. All Rights Reserved.