Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 11260 invoked from network); 10 Jun 2005 23:14:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jun 2005 23:14:51 -0000 Received: (qmail 93177 invoked by uid 500); 10 Jun 2005 23:14:50 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 93097 invoked by uid 500); 10 Jun 2005 23:14:49 -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 93064 invoked by uid 99); 10 Jun 2005 23:14:48 -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; Fri, 10 Jun 2005 16:14:47 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id C98CF321 for ; Sat, 11 Jun 2005 00:14:48 +0200 (CEST) Message-ID: <1319745012.1118441688824.JavaMail.jira@ajax.apache.org> Date: Sat, 11 Jun 2005 00:14:48 +0200 (CEST) From: "Nathan Jantz (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Closed: (BEEHIVE-136) a typo in ControlsProgramming.html In-Reply-To: <1748860979.1103138755402.JavaMail.apache@nagoya> 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-136?page=all ] Nathan Jantz closed BEEHIVE-136: -------------------------------- Assign To: Nathan Jantz (was: James Song) Verified in 1.0m1 distribution. The sample code in question has been updated significantly since this bug was first filed. Closing issue. > a typo in ControlsProgramming.html > ---------------------------------- > > Key: BEEHIVE-136 > URL: http://issues.apache.org/jira/browse/BEEHIVE-136 > Project: Beehive > Type: Bug > Components: Documentation > Versions: V1Beta > Reporter: James Song > Assignee: Nathan Jantz > Priority: Trivial > Fix For: V1Beta > > For controlsProgramming in http://incubator.apache.org/beehive/controls/controlsProgramming.html#6.2+Programmatic+Instantiation > Programmatic Instantiation with Properties (Client Code) > import org.apache.beehive.controls.api.bean.Controls; > import org.apache.beehive.controls.api.properties.PropertyMap; > PropertyMap jmsAttr = new (PropertyMap(JmsMessageControl.Destination.class); > jmsAttr.setProperty("name", "InvoiceQueue"); > JmsMessageControlBean myJmsBean = (JmsMessageControlBean) > Controls.instantiate( > cl, > "org.apache.beehive.controls.examples.JmsMessageControlBean", > jmsAttr > ); > There is an extra bracket in "new (PropertyMap(JmsMessageControl.Destination.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