org.zeroexchange.resource.value.create
Class DefaultValueFactory

java.lang.Object
  extended by org.zeroexchange.common.AbstractBeansRegistry<T>
      extended by org.zeroexchange.common.TypedBeansRegistry<ValueProvider<Value>>
          extended by org.zeroexchange.resource.value.create.DefaultValueFactory
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean, BeansRegistry<ValueProvider<Value>>, ValueFactory

public class DefaultValueFactory
extends TypedBeansRegistry<ValueProvider<Value>>
implements ValueFactory

Author:
black

Constructor Summary
DefaultValueFactory()
           
 
Method Summary
 Value createValue(PropertyType propertyType)
          Returns the value corresponded to the specified property type.
protected  Class<?> getBeanClass()
           
 
Methods inherited from class org.zeroexchange.common.TypedBeansRegistry
afterPropertiesSet, isElected
 
Methods inherited from class org.zeroexchange.common.AbstractBeansRegistry
createBeansCollection, getBeans, postProcessAfterInitialization, postProcessBeforeInitialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValueFactory

public DefaultValueFactory()
Method Detail

createValue

public Value createValue(PropertyType propertyType)
Returns the value corresponded to the specified property type.

Specified by:
createValue in interface ValueFactory

getBeanClass

protected Class<?> getBeanClass()
Specified by:
getBeanClass in class TypedBeansRegistry<ValueProvider<Value>>


Copyright © 2013. All Rights Reserved.