You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Kyle Marvin (JIRA)" <be...@incubator.apache.org> on 2005/02/25 17:14:54 UTC

[jira] Resolved: (BEEHIVE-84) Generate error if @ControlImplementation is missing

     [ http://issues.apache.org/jira/browse/BEEHIVE-84?page=history ]
     
Kyle Marvin resolved BEEHIVE-84:
--------------------------------

      Assign To:     (was: Kyle Marvin)
     Resolution: Fixed
    Fix Version: V1Beta

Added a construction-time check to ensure that any bound implementation class has the @ControlImplementation annotation.  It would be great to have this be a compile-time error, but its possible that for many simple controls this might be the only annotation present, so there is no way for an annotation processor to detect it.  At least this way, the error/fix is much more obvious.

Checked in as svn revision 155338.

> Generate error if @ControlImplementation is missing
> ---------------------------------------------------
>
>          Key: BEEHIVE-84
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-84
>      Project: Beehive
>         Type: Improvement
>   Components: Controls
>     Reporter: Dan Diephouse
>      Fix For: V1Beta

>
> It would be nice if when you forgot to put a @ControlImplementation annotation on your implementation class, Beehive generated some sort of error. Currently when you try to use the control it will just give a class not found exception for the ControlImplInitializer class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira