Package org.cyclos.impl.utils.cluster
Class ProfilingManagerFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<ProfilingManager>
-
- org.cyclos.impl.utils.cluster.ProfilingManagerFactoryBean
-
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<ProfilingManager>,InitializingBean
@Component public class ProfilingManagerFactoryBean extends AbstractFactoryBean<ProfilingManager>
FactoryBeanwhich exposesClusterHandler.getProfilingManager()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 ProfilingManagerFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProfilingManagercreateInstance()protected voiddestroyInstance(ProfilingManager 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<ProfilingManager>- Specified by:
getObjectTypein classAbstractFactoryBean<ProfilingManager>
-
createInstance
protected ProfilingManager createInstance() throws Exception
- Specified by:
createInstancein classAbstractFactoryBean<ProfilingManager>- Throws:
Exception
-
destroyInstance
protected void destroyInstance(ProfilingManager instance) throws Exception
- Overrides:
destroyInstancein classAbstractFactoryBean<ProfilingManager>- Throws:
Exception
-
-