[ http://nagoya.apache.org/jira/browse/BEEHIVE-137?page=history ]
Kenneth Tam updated BEEHIVE-137:
--------------------------------
Summary: References to PropertyMap in docs should be to BeanPropertyMap
(was: PropertyMap is an interface)
Component: Documentation
(was: Controls)
Yup, this is a docs issue. James, if you look at the example test case I
checked in at the same time as the code, you can see usage of BeanPropertyMap
there.
> References to PropertyMap in docs should be to BeanPropertyMap
> --------------------------------------------------------------
>
> Key: BEEHIVE-137
> URL: http://nagoya.apache.org/jira/browse/BEEHIVE-137
> Project: Beehive
> Type: Bug
> Components: Documentation
> Versions: V1Beta
> Reporter: James Song
> Assignee: Kenneth Tam
> Fix For: V1Beta
>
> This causes problems when a user instantiates controls using Controls api,
> following the sample in ControlProgramming.html:
> 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
> );
> How do we instantiate a PropertyMap?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira