beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Resolved: (BEEHIVE-1086) controls which implement non-control interfaces may cause compilation errors on overridden methods
Date Tue, 28 Mar 2006 17:16:56 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1086?page=all ]
     
Chad Schoettger resolved BEEHIVE-1086:
--------------------------------------

    Fix Version: v.next
     Resolution: Fixed
      Assign To: Alejandro Ramirez  (was: Chad Schoettger)

Fixed, modified AptMethodSet to check for overridden methods.  svn rev 389546

> controls which implement non-control interfaces may cause compilation errors on overridden
methods
> --------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1086
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1086
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: 1.0.1
>     Reporter: Chad Schoettger
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: v.next

>
> If I have the following, a compilation error will result, due to duplicate methods generated
in the control bean during APT processing:
> **************************************************
> public interface ICustomerDao {
>     int countCustomers();
> }
> **************************************************
> import org.apache.beehive.controls.system.jdbc.JdbcControl;
> import org.apache.beehive.controls.api.bean.ControlExtension;
> @ControlExtension
> @JdbcControl.ConnectionDataSource(jndiName = "later")
> public interface CustomerDao extends ICustomerDao, JdbcControl {
>     static final long serialVersionUID = 1L;
>     @JdbcControl.SQL( statement="SELECT count(*) FROM customer" )
>     public int countCustomers();
> }

-- 
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