net.sf.mmm.util.pojo.path.impl
Class PojoPathFunctionManagerImpl

java.lang.Object
  extended by net.sf.mmm.util.component.base.AbstractComponent
      extended by net.sf.mmm.util.pojo.path.base.DefaultPojoPathFunctionManager
          extended by net.sf.mmm.util.pojo.path.impl.PojoPathFunctionManagerImpl
All Implemented Interfaces:
PojoPathFunctionManager

@Singleton
@Named
public class PojoPathFunctionManagerImpl
extends DefaultPojoPathFunctionManager

This is the implementation of the PojoPathFunctionManager.

Since:
1.1.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Field Summary
private  Map<String,PojoPathFunction> functionMap
           
private  List<PojoPathNamedFunction> functions
           
 
Constructor Summary
PojoPathFunctionManagerImpl()
          The constructor.
 
Method Summary
protected  void doInitialize()
          This method performs the actual initialization.
 void setFunctionMap(Map<String,PojoPathFunction> functionMap)
           
 void setFunctions(List<PojoPathNamedFunction> functions)
          This method sets a List of named functions to be registered in this manager.
 
Methods inherited from class net.sf.mmm.util.pojo.path.base.DefaultPojoPathFunctionManager
getFunction, registerFunction
 
Methods inherited from class net.sf.mmm.util.component.base.AbstractComponent
doInitialized, getInitializationState, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

functionMap

private Map<String,PojoPathFunction> functionMap
See Also:
setFunctionMap(Map)

functions

private List<PojoPathNamedFunction> functions
See Also:
setFunctions(List)
Constructor Detail

PojoPathFunctionManagerImpl

public PojoPathFunctionManagerImpl()
The constructor.

Method Detail

doInitialize

protected void doInitialize()
This method performs the actual initialization. It is called when AbstractComponent.initialize() is invoked for the first time.
ATTENTION:
When you override this method from a sub-class you need to do a super.AbstractComponent.doInitialize().

Overrides:
doInitialize in class AbstractComponent

setFunctions

@Inject
public void setFunctions(List<PojoPathNamedFunction> functions)
This method sets a List of named functions to be registered in this manager.

Parameters:
functions - are the named functions to register.

setFunctionMap

public void setFunctionMap(Map<String,PojoPathFunction> functionMap)
Parameters:
functionMap - is the functions to set


Copyright © 2001-2010 mmm-Team. All Rights Reserved.