beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Johnson (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Closed: (BEEHIVE-84) Generate error if @ControlImplementation is missing
Date Thu, 12 May 2005 20:26:05 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-84?page=all ]
     
Jeremiah Johnson closed BEEHIVE-84:
-----------------------------------

    Assign To: Jeremiah Johnson

Verified in dist build from SVN 169852.

Verified with external bindings and worked as expected: the file reference in the controlbindings.properties
file didn't have ControlImplementation and correct error resulted.  Verified with implicit
binding (Impl appended to Control interface name) and worked as expected.  Finally, tested
using defaultBinding set on the ControlInterface and worked as expected.

Error message:
org.apache.beehive.controls.api.ControlException: @org.apache.beehive.controls.api.bean.ControlImplementation
annotation is missing from control implementation class: web.OracleSaleDao

Of course, the last part of the error message changed to web.SaleDaoImpl and web.DerbySaleDao
as expected.

> 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
>     Assignee: Jeremiah Johnson
>      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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message