beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Song (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Created: (BEEHIVE-115) ControlProgramming.doc: error in the sample for listening to context event
Date Thu, 02 Dec 2004 19:38:27 GMT
ControlProgramming.doc: error in the sample for listening to context event
--------------------------------------------------------------------------

         Key: BEEHIVE-115
         URL: http://nagoya.apache.org/jira/browse/BEEHIVE-115
     Project: Beehive
        Type: Bug
  Components: Documentation  
    Versions: V1Beta    
    Reporter: James Song
 Assigned to: Steve Hanson 
    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://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


Mime
View raw message