}
protected void setFunctionDirectory(Resource functionDirectory) {
//this.functionDirectory=functionDirectory;
this.functionMapping= new MappingImpl(this,"/mapping-function/",functionDirectory.getAbsolutePath(),null,ConfigImpl.INSPECT_NEVER,true,true,true,true,false,true,null);
FunctionLib fl=flds[flds.length-1];
// now overwrite with new data
if(functionDirectory.isDirectory()) {
String[] files=functionDirectory.list(new ExtensionResourceFilter(getCFMLExtensions()));