beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Jantz (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Closed: (BEEHIVE-136) a typo in ControlsProgramming.html
Date Fri, 10 Jun 2005 22:14:48 GMT
     [ 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


Mime
View raw message