org.zeroexchange.common
Class TypedBeansRegistry<T>
java.lang.Object
org.zeroexchange.common.AbstractBeansRegistry<T>
org.zeroexchange.common.TypedBeansRegistry<T>
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean, BeansRegistry<T>
- Direct Known Subclasses:
- AbstractDataProcessorsRegistry, ConfigurableTypedBeansRegistry, DefaultContractFlowStatesRegistry, DefaultFeatureRegistry, DefaultMenuDecoratorsFactory, DefaultMoneyManager, DefaultPagePreprocessorsRegistry, DefaultValueFactory
public abstract class TypedBeansRegistry<T>
- extends AbstractBeansRegistry<T>
- implements org.springframework.beans.factory.InitializingBean
Beans registry elects beans by the specified class.
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypedBeansRegistry
public TypedBeansRegistry()
isElected
protected boolean isElected(Object bean,
String beanName)
- Override this method to determine which bean should be included to the current registry.
- Specified by:
isElected
in class AbstractBeansRegistry<T>
getBeanClass
protected abstract Class<?> getBeanClass()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2013. All Rights Reserved.