You're right, that's listed in the migrating wiki. So I changed the
listAroundAdvice so it's implementing coldspring.aop.MethodInterceptor
rather than extending it.
However, I got another error:
Interface Coldspring.aop.MethodInterceptor cannot extend the component
coldspring.aop.Advice.
ColdFusion interface cannot extend ColdFusion component.
The error occurred in H:\www\CMS\Frameworks\Coldspring\core\reflect
\Class.cfc: line 43
41 : var builder = 0;
42 : var reflectionService =
getComponentMetaData("coldspring.core.reflect.ReflectionService").singleton.instance;
43 : var meta = getComponentMetadata(arguments.className);
44 :
45 : //builder.setLength(builder.lastIndexOf(".")); << CF8 fails on
this because it can't resolve Java Methods. Grrr.
Figured it might be because of the version, I changed back from the
develop version to the CS2.0 Alpha1 tag from your Github, restarted
the CF server and requested the page. Got this error:
Invalid component or interface name.
The coldspring.aop.Advice ColdFusion component or interface name, used
to extend or implement the Coldspring.aop.MethodInterceptor component
is invalid. Ensure that the file exists, that the name does not start
or end with a period (.), and the name is not an empty string.
The error occurred in H:\www\CMS\Frameworks\coldspring\core\reflect
\Class.cfc: line 59
Called from H:\www\CMS\Frameworks\coldspring\core\reflect
\ReflectionService.cfc: line 46
Called from H:\www\CMS\Frameworks\coldspring\beans\support
\CFCBeanDefinition.cfc: line 71
Called from H:\www\CMS\Frameworks\coldspring\beans
\BeanDefinitionRegistry.cfc: line 78
Called from H:\www\CMS\Frameworks\coldspring\beans\xml\XmlParser.cfc:
line 169
Called from H:\www\CMS\Frameworks\coldspring\beans\xml\XmlParser.cfc:
line 79
Called from H:\www\CMS\Frameworks\coldspring\beans\xml\XmlParser.cfc:
line 61
Called from H:\www\CMS\Frameworks\Coldspring\beans\xml
\XmlBeanFactory.cfc: line 52
Called from H:\www\CMS\Frameworks\Coldspring\beans\xml
\XmlBeanFactory.cfc: line 33
Called from H:\www\CMS\Frameworks\ModelGlue\gesture\loading
\ColdSpringBootstrapper.cfc: line 184
Called from H:\www\CMS\Frameworks\ModelGlue\gesture\loading
\ColdSpringBootstrapper.cfc: line 51
Called from H:\www\CMS\Frameworks\ModelGlue\gesture\loading
\ColdSpringBootstrapper.cfc: line 195
Called from H:\www\CMS\Frameworks\ModelGlue\gesture\loading
\ColdSpringBootstrapper.cfc: line 206
Called from H:\www\CMS\Frameworks\ModelGlue\gesture\ModelGlue.cfm:
line 81
Called from H:\www\CMS\wwwroot\index.cfm: line 41
57 : setAssignableCache(StructNew());
58 :
59 : setMeta(getComponentMetadata(arguments.className));
60 :
61 : //determine if we are an interface or not
Both errors hit me before. I've got the feeling I'm running in circles
here..
Marc