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-115) ControlProgramming.doc: error in the sample for listening to context event
Date Thu, 02 Jun 2005 19:12:52 GMT
     [ 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


Mime
View raw message