[ http://issues.apache.org/jira/browse/BEEHIVE-115?page=all ]
Nathan Jantz closed BEEHIVE-115:
--------------------------------
Assign To: Nathan Jantz (was: James Song)
Verified in 1.0m1-rc2.
> 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: Nathan Jantz
> 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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira