Package org.cyclos.impl.utils.tasks
Class PollingTaskHandlerFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<PollingTaskHandlerImplementor>
-
- org.cyclos.impl.utils.tasks.PollingTaskHandlerFactoryBean
-
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<PollingTaskHandlerImplementor>,InitializingBean
@Component public class PollingTaskHandlerFactoryBean extends AbstractFactoryBean<PollingTaskHandlerImplementor>
FactoryBeanwhich exposesClusterHandler.getPollingTaskHandler()as a bean
-
-
Field Summary
-
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
-
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description PollingTaskHandlerFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PollingTaskHandlerImplementorcreateInstance()protected voiddestroyInstance(PollingTaskHandlerImplementor instance)Class<?>getObjectType()-
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
-
-
-
Method Detail
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceFactoryBean<PollingTaskHandlerImplementor>- Specified by:
getObjectTypein classAbstractFactoryBean<PollingTaskHandlerImplementor>
-
createInstance
protected PollingTaskHandlerImplementor createInstance() throws Exception
- Specified by:
createInstancein classAbstractFactoryBean<PollingTaskHandlerImplementor>- Throws:
Exception
-
destroyInstance
protected void destroyInstance(PollingTaskHandlerImplementor instance) throws Exception
- Overrides:
destroyInstancein classAbstractFactoryBean<PollingTaskHandlerImplementor>- Throws:
Exception
-
-