You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Pradeep Bollineni (JIRA)" <de...@beehive.apache.org> on 2005/11/09 04:50:21 UTC
[jira] Created: (BEEHIVE-998) Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
----------------------------------------------------------------------------------------------------------------------------------------
Key: BEEHIVE-998
URL: http://issues.apache.org/jira/browse/BEEHIVE-998
Project: Beehive
Type: Bug
Components: Controls
Versions: V1
Reporter: Pradeep Bollineni
Have the following control interface and extension definitions:
@ControlInterface interface BaseControl {
@EventSet interface BaseCallback {
void base_callback();
}
}
@ControlExtension interface DerivedControl {
@EventSet interface DerivedCallback extends BaseCallback {
void derived_callback();
}
}
Generated event adapter class in the client initializer using the DerivedControl:
public static class ControlClientDerivedControlEventAdaptor
implements DerivedControl.DerivedCallback,
EventAdaptor, java.io.Serializable
{
processes.parent2SBC _client;
public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
public Object getClient() { return _client; }
public void derived_callback()
{
_client.derived_callback_clientResponse();
}
}
Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
Is there a workaround?
Thanks
Pradeep Bollineni
--
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
[jira] Commented: (BEEHIVE-998) Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
Posted by "Pradeep Bollineni (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-998?page=comments#action_12358958 ]
Pradeep Bollineni commented on BEEHIVE-998:
-------------------------------------------
In the example, replace "@ControlExtension interface DerivedControl" with "@ControlExtension interface DerivedControl extends BaseControl"
> Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-998
> URL: http://issues.apache.org/jira/browse/BEEHIVE-998
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1
> Reporter: Pradeep Bollineni
>
> Have the following control interface and extension definitions:
> @ControlInterface interface BaseControl {
> @EventSet interface BaseCallback {
> void base_callback();
> }
> }
> @ControlExtension interface DerivedControl {
> @EventSet interface DerivedCallback extends BaseCallback {
> void derived_callback();
> }
> }
> Generated event adapter class in the client initializer using the DerivedControl:
> public static class ControlClientDerivedControlEventAdaptor
> implements DerivedControl.DerivedCallback,
> EventAdaptor, java.io.Serializable
> {
> processes.parent2SBC _client;
>
> public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
>
> public Object getClient() { return _client; }
>
> public void derived_callback()
> {
> _client.derived_callback_clientResponse();
> }
> }
> Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
> Is there a workaround?
> Thanks
> Pradeep Bollineni
--
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
[jira] Resolved: (BEEHIVE-998) Compilation error for generated
client initializer due to generated eventAdaptor not implementing methods
in super intf of EventSet intf
Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-998?page=all ]
Chad Schoettger resolved BEEHIVE-998:
-------------------------------------
Resolution: Fixed
Assign To: matt c (was: Chad Schoettger)
Fixed, svn rev 417867.
The fix consisted of the modification of the ClientInitializer velocity template to add eventset superclass methods to the generated event adapter inner class of a client initializer. Also added a new test for this case.
> Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-998
> URL: http://issues.apache.org/jira/browse/BEEHIVE-998
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1
> Reporter: Pradeep Bollineni
> Assignee: matt c
> Fix For: v.next
>
> Have the following control interface and extension definitions:
> @ControlInterface interface BaseControl {
> @EventSet interface BaseCallback {
> void base_callback();
> }
> }
> @ControlExtension interface DerivedControl {
> @EventSet interface DerivedCallback extends BaseCallback {
> void derived_callback();
> }
> }
> Generated event adapter class in the client initializer using the DerivedControl:
> public static class ControlClientDerivedControlEventAdaptor
> implements DerivedControl.DerivedCallback,
> EventAdaptor, java.io.Serializable
> {
> processes.parent2SBC _client;
>
> public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
>
> public Object getClient() { return _client; }
>
> public void derived_callback()
> {
> _client.derived_callback_clientResponse();
> }
> }
> Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
> Is there a workaround?
> Thanks
> Pradeep Bollineni
--
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
[jira] Assigned: (BEEHIVE-998) Compilation error for generated
client initializer due to generated eventAdaptor not implementing methods
in super intf of EventSet intf
Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-998?page=all ]
Chad Schoettger reassigned BEEHIVE-998:
---------------------------------------
Assign To: Chad Schoettger
> Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-998
> URL: http://issues.apache.org/jira/browse/BEEHIVE-998
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1
> Reporter: Pradeep Bollineni
> Assignee: Chad Schoettger
> Fix For: v.next
>
> Have the following control interface and extension definitions:
> @ControlInterface interface BaseControl {
> @EventSet interface BaseCallback {
> void base_callback();
> }
> }
> @ControlExtension interface DerivedControl {
> @EventSet interface DerivedCallback extends BaseCallback {
> void derived_callback();
> }
> }
> Generated event adapter class in the client initializer using the DerivedControl:
> public static class ControlClientDerivedControlEventAdaptor
> implements DerivedControl.DerivedCallback,
> EventAdaptor, java.io.Serializable
> {
> processes.parent2SBC _client;
>
> public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
>
> public Object getClient() { return _client; }
>
> public void derived_callback()
> {
> _client.derived_callback_clientResponse();
> }
> }
> Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
> Is there a workaround?
> Thanks
> Pradeep Bollineni
--
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
[jira] Updated: (BEEHIVE-998) Compilation error for generated
client initializer due to generated eventAdaptor not implementing methods
in super intf of EventSet intf
Posted by "Eddie O'Neil (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-998?page=all ]
Eddie O'Neil updated BEEHIVE-998:
---------------------------------
Assign To: (was: Eddie O'Neil)
I'm not likely to get to this any time soon -- moving to unassigned; someone else should feel free to pick this up.
> Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-998
> URL: http://issues.apache.org/jira/browse/BEEHIVE-998
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1
> Reporter: Pradeep Bollineni
> Fix For: v.next
>
> Have the following control interface and extension definitions:
> @ControlInterface interface BaseControl {
> @EventSet interface BaseCallback {
> void base_callback();
> }
> }
> @ControlExtension interface DerivedControl {
> @EventSet interface DerivedCallback extends BaseCallback {
> void derived_callback();
> }
> }
> Generated event adapter class in the client initializer using the DerivedControl:
> public static class ControlClientDerivedControlEventAdaptor
> implements DerivedControl.DerivedCallback,
> EventAdaptor, java.io.Serializable
> {
> processes.parent2SBC _client;
>
> public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
>
> public Object getClient() { return _client; }
>
> public void derived_callback()
> {
> _client.derived_callback_clientResponse();
> }
> }
> Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
> Is there a workaround?
> Thanks
> Pradeep Bollineni
--
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
[jira] Updated: (BEEHIVE-998) Compilation error for generated
client initializer due to generated eventAdaptor not implementing methods
in super intf of EventSet intf
Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-998?page=all ]
Chad Schoettger updated BEEHIVE-998:
------------------------------------
Fix Version: v.next
Moving to v.next for fix.
> Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-998
> URL: http://issues.apache.org/jira/browse/BEEHIVE-998
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1
> Reporter: Pradeep Bollineni
> Assignee: Eddie O'Neil
> Fix For: v.next
>
> Have the following control interface and extension definitions:
> @ControlInterface interface BaseControl {
> @EventSet interface BaseCallback {
> void base_callback();
> }
> }
> @ControlExtension interface DerivedControl {
> @EventSet interface DerivedCallback extends BaseCallback {
> void derived_callback();
> }
> }
> Generated event adapter class in the client initializer using the DerivedControl:
> public static class ControlClientDerivedControlEventAdaptor
> implements DerivedControl.DerivedCallback,
> EventAdaptor, java.io.Serializable
> {
> processes.parent2SBC _client;
>
> public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
>
> public Object getClient() { return _client; }
>
> public void derived_callback()
> {
> _client.derived_callback_clientResponse();
> }
> }
> Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
> Is there a workaround?
> Thanks
> Pradeep Bollineni
--
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
[jira] Commented: (BEEHIVE-998) Compilation error for generated
client initializer due to generated eventAdaptor not implementing methods
in super intf of EventSet intf
Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-998?page=comments#action_12415163 ]
Chad Schoettger commented on BEEHIVE-998:
-----------------------------------------
This still appears to be a problem -- slightly different now though.
An error is still generated when compiling the ClientInitializer but the error is that the EventAdapter 'is not abstract and does not override abstract method(s) defined in the superinterface'.
> Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-998
> URL: http://issues.apache.org/jira/browse/BEEHIVE-998
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1
> Reporter: Pradeep Bollineni
> Assignee: Eddie O'Neil
>
> Have the following control interface and extension definitions:
> @ControlInterface interface BaseControl {
> @EventSet interface BaseCallback {
> void base_callback();
> }
> }
> @ControlExtension interface DerivedControl {
> @EventSet interface DerivedCallback extends BaseCallback {
> void derived_callback();
> }
> }
> Generated event adapter class in the client initializer using the DerivedControl:
> public static class ControlClientDerivedControlEventAdaptor
> implements DerivedControl.DerivedCallback,
> EventAdaptor, java.io.Serializable
> {
> processes.parent2SBC _client;
>
> public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
>
> public Object getClient() { return _client; }
>
> public void derived_callback()
> {
> _client.derived_callback_clientResponse();
> }
> }
> Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
> Is there a workaround?
> Thanks
> Pradeep Bollineni
--
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
[jira] Updated: (BEEHIVE-998) Compilation error for generated
client initializer due to generated eventAdaptor not implementing methods
in super intf of EventSet intf
Posted by "Eddie O'Neil (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-998?page=all ]
Eddie O'Neil updated BEEHIVE-998:
---------------------------------
Assign To: Eddie O'Neil
I think that this was fixed in SVN 366968. Need to double check that it's the right thing to do; then I'll resolve this bug.
> Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-998
> URL: http://issues.apache.org/jira/browse/BEEHIVE-998
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1
> Reporter: Pradeep Bollineni
> Assignee: Eddie O'Neil
>
> Have the following control interface and extension definitions:
> @ControlInterface interface BaseControl {
> @EventSet interface BaseCallback {
> void base_callback();
> }
> }
> @ControlExtension interface DerivedControl {
> @EventSet interface DerivedCallback extends BaseCallback {
> void derived_callback();
> }
> }
> Generated event adapter class in the client initializer using the DerivedControl:
> public static class ControlClientDerivedControlEventAdaptor
> implements DerivedControl.DerivedCallback,
> EventAdaptor, java.io.Serializable
> {
> processes.parent2SBC _client;
>
> public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client) { _client = client; }
>
> public Object getClient() { return _client; }
>
> public void derived_callback()
> {
> _client.derived_callback_clientResponse();
> }
> }
> Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.
> Is there a workaround?
> Thanks
> Pradeep Bollineni
--
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