org.zeroexchange.web.navigation.target.key
Class DefaultTargetKeyFactory

java.lang.Object
  extended by org.zeroexchange.common.AbstractBeansRegistry<T>
      extended by org.zeroexchange.common.TypedBeansRegistry<P>
          extended by org.zeroexchange.common.processors.AbstractDataProcessorsRegistry<TargetKeyProvider<Target>>
              extended by org.zeroexchange.web.navigation.target.key.DefaultTargetKeyFactory
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean, BeansRegistry<TargetKeyProvider<Target>>, TargetKeyFactory

public class DefaultTargetKeyFactory
extends AbstractDataProcessorsRegistry<TargetKeyProvider<Target>>
implements TargetKeyFactory

THe default implementation of the TargetKeyFactory.

Author:
black

Constructor Summary
DefaultTargetKeyFactory()
           
 
Method Summary
protected  Class<?> getBeanClass()
           
 String getMenuLeafKey(Target target)
          Returns the key for the specified target.
 String getTargetKey(Target target)
          Returns the key for the specified target.
 
Methods inherited from class org.zeroexchange.common.processors.AbstractDataProcessorsRegistry
getProcessor, getProcessors, isElected
 
Methods inherited from class org.zeroexchange.common.TypedBeansRegistry
afterPropertiesSet
 
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

DefaultTargetKeyFactory

public DefaultTargetKeyFactory()
Method Detail

getTargetKey

public String getTargetKey(Target target)
Returns the key for the specified target.

Specified by:
getTargetKey in interface TargetKeyFactory

getMenuLeafKey

public String getMenuLeafKey(Target target)
Returns the key for the specified target.

Specified by:
getMenuLeafKey in interface TargetKeyFactory

getBeanClass

protected Class<?> getBeanClass()
Specified by:
getBeanClass in class TypedBeansRegistry<TargetKeyProvider<Target>>


Copyright © 2013. All Rights Reserved.