You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "James Song (JIRA)" <be...@incubator.apache.org> on 2004/12/02 20:38:27 UTC

[jira] Created: (BEEHIVE-115) ControlProgramming.doc: error in the sample for listening to context event

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


[jira] Resolved: (BEEHIVE-115) ControlProgramming.doc: error in the sample for listening to context event

Posted by "Kyle Marvin (JIRA)" <be...@incubator.apache.org>.
     [ 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


[jira] Assigned: (BEEHIVE-115) ControlProgramming.doc: error in the sample for listening to context event

Posted by "Steve Hanson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-115?page=history ]

Steve Hanson reassigned BEEHIVE-115:
------------------------------------

    Assign To: Kyle Marvin  (was: Steve Hanson)

Kyle, I know that you have done a lot of changes here recently.
Could you take a look at this?

> 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: Kyle Marvin
>     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


[jira] Closed: (BEEHIVE-115) ControlProgramming.doc: error in the sample for listening to context event

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ 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