[ http://issues.apache.org/jira/browse/BEEHIVE-115?page=history ]
Kyle Marvin resolved BEEHIVE-115:
---------------------------------
Assign To: James Song (was: Kyle Marvin)
Resolution: Fixed
The Beta version of these docs can be found at:
http://incubator.apache.org/beehive/v1beta/controls/controlsProgramming.html
Section 13 (that describes base the base context lifecyle and resource events)
has been updated to reflect the current implementation.
> ControlProgramming.doc: error in the sample for listening to context event
> --------------------------------------------------------------------------
>
> Key: BEEHIVE-115
> URL: http://issues.apache.org/jira/browse/BEEHIVE-115
> Project: Beehive
> Type: Bug
> Components: Documentation
> Versions: V1Beta
> Reporter: James Song
> Assignee: James Song
> Priority: Minor
> Fix For: V1Beta
>
> The sample for Programmatic "Handling of Life Cycle Events (Control
> Implementation Class) " on page 32:
> ControlBeanContext peerContext = myBean.getControlBeanContext();
> peerContext.addCallbackListener(
> new ControlBeanContext.LifeCycle()
> {
> public void onCreate() { ?. };
> public void onAcquire() { ? };
> public void onRelease() { ? };
> });
> This needs an update:
> 1. ControlBeanContext.LifeCycle has only one method onCreate;
> 2. onAcquire and onRelease are both on ResourceContext.ResourceEvents;
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira