Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.0
-
None
-
None
-
Beehive dist built from SVN r280592
Description
After going through the Wiki page about interceptors (http://wiki.apache.org/beehive/Controls/AnnotationBasedFeatures) I created an interceptor but wasn't getting the results I expected. When the interceptor is instantiated, a failure to find the interceptor class is currently silently ignored; please consider logging the failure.
Proposed patch (note that I don't really like using SEP - just don't see any other logging used in the Controls Runtime):
— trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
@@ -932,6 +933,10 @@
try
{
i = (Interceptor) getControlService( getControlBeanContext().getClassLoader().loadClass( n ), null );
+ if( i == null )
}
catch ( Exception e )
finally
{
—