|
From: <svn...@os...> - 2011-12-24 17:03:36
|
Author: aaime
Date: 2011-12-24 09:03:29 -0800 (Sat, 24 Dec 2011)
New Revision: 38448
Modified:
trunk/modules/unsupported/process/src/main/java/org/geotools/process/factory/AnnotationDrivenProcessFactory.java
Log:
Fixing discovery annotated processes working as rendering transformations
Modified: trunk/modules/unsupported/process/src/main/java/org/geotools/process/factory/AnnotationDrivenProcessFactory.java
===================================================================
--- trunk/modules/unsupported/process/src/main/java/org/geotools/process/factory/AnnotationDrivenProcessFactory.java 2011-12-23 01:23:17 UTC (rev 38447)
+++ trunk/modules/unsupported/process/src/main/java/org/geotools/process/factory/AnnotationDrivenProcessFactory.java 2011-12-24 17:03:29 UTC (rev 38448)
@@ -249,8 +249,8 @@
String methodName = name.getLocalPart();
Method meth = method(methodName);
Object process = createProcessBean(name);
- if (process != null && (lookupInvertGridGeometry(process, methodName) != null
- || lookupInvertQuery(process, methodName) != null)) {
+ if (process != null && (lookupInvertGridGeometry(process, meth.getName()) != null
+ || lookupInvertQuery(process, meth.getName()) != null)) {
return new InvokeMethodRenderingProcess(meth, process);
} else {
return new InvokeMethodProcess(meth, process);
|