org.zeroexchange.feature
Class DefaultFeatureRegistry
java.lang.Object
org.zeroexchange.common.AbstractBeansRegistry<T>
org.zeroexchange.common.TypedBeansRegistry<Feature>
org.zeroexchange.feature.DefaultFeatureRegistry
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean, BeansRegistry<Feature>, FeaturesRegistry
public class DefaultFeatureRegistry
- extends TypedBeansRegistry<Feature>
- implements FeaturesRegistry
the default implementation of the feature registry.
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFeatureRegistry
public DefaultFeatureRegistry()
isFeatureEnabled
public boolean isFeatureEnabled(String featureName)
- Returns true of the specified feature is enabled.
- Specified by:
isFeatureEnabled
in interface FeaturesRegistry
getBeanClass
protected Class<?> getBeanClass()
- Specified by:
getBeanClass
in class TypedBeansRegistry<Feature>
Copyright © 2013. All Rights Reserved.