Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 77875 invoked from network); 15 Jun 2005 15:34:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jun 2005 15:34:20 -0000 Received: (qmail 67883 invoked by uid 500); 15 Jun 2005 15:34:19 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 67861 invoked by uid 500); 15 Jun 2005 15:34:19 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 67839 invoked by uid 99); 15 Jun 2005 15:34:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Jun 2005 08:34:17 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E4FF5335 for ; Wed, 15 Jun 2005 17:33:51 +0200 (CEST) Message-ID: <808671229.1118849631936.JavaMail.jira@ajax.apache.org> Date: Wed, 15 Jun 2005 17:33:51 +0200 (CEST) From: "Eddie O'Neil (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Updated: (BEEHIVE-197) @ControlExtension: conflicting samples on incubator.apache.org In-Reply-To: <1641218947.1106779638533.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-197?page=all ] Eddie O'Neil updated BEEHIVE-197: --------------------------------- Fix Version: TBD (was: V1Beta) Version: V1 > @ControlExtension: conflicting samples on incubator.apache.org > -------------------------------------------------------------- > > Key: BEEHIVE-197 > URL: http://issues.apache.org/jira/browse/BEEHIVE-197 > Project: Beehive > Type: Bug > Components: Controls > Versions: V1Beta, V1 > Reporter: James Song > Assignee: Steve Hanson > Priority: Minor > Fix For: TBD > > This is related to BEEHIVE-118, and Ken's plan on "Inheritance semantic analysis" and/or "Robust semantic analysis". > http://incubator.apache.org/beehive/controls/controlsProgramming.html#11.1+Defining+an+Extended+Interface+for+a+Control+Type > One sample: > package org.apache.beehive.controls.examples; > import org.apache.beehive.controls.api.bean.ControlExtension; > @ControlInterface > @Destination(type=JmsMessageControl.QUEUE, name="queue.orders") > public interface OrderQueue extends JmsMessageControl > { > ... > } > While the following one: > package org.apache.beehive.controls.examples; > import org.apache.beehive.controls.api.bean.ControlExtension; > @ControlExtension > @Destination(type=JmsMessageControl.QUEUE, name="queue.orders") > public interface OrderQueue extends JmsMessageControl > { > public class Order implements java.io.Serializable > { > public Order(int buyer, String list) { buyerID = buyer; itemList list; } > int buyerID; > String [ ] itemList; > } > @Message (OBJECT) > public void submitOrder( > @Body Order order, > @Property ( name="DeliverBy") String deliverBy > ); > } > The confusion: user could use either @ControlInterface or @ControlExtension to declare an extended control interface. > If user could use either @ControlExtension or @ControlInterface, more doc on when to use which one would be necessary. -- 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