beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <j...@apache.org>
Subject [jira] Created: (BEEHIVE-1169) Allow for finer scoped resource management in controls
Date Mon, 18 Dec 2006 22:01:23 GMT
Allow for finer scoped resource management in controls
------------------------------------------------------

                 Key: BEEHIVE-1169
                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1169
             Project: Beehive
          Issue Type: New Feature
          Components: Controls
    Affects Versions: V.Next
            Reporter: Chad Schoettger


A control's resources are typically managed by the control listening for 'onAcquire' / 'onRelease'
events.  The duration between an onAcquire / onRelease may be much longer than necessary depending
on the project's design.

For example:

Control Client: 

public void invokeSomeControls() {

     ctrl1.invoke()    /* ctrl1 acquires resources */
     .
     .
     .
     ctrl2.invoke()  /* ctrl2 acquires resources */
     .
     .
     .
} /* ctrl1 and ctrl2 release resources */

It would be nice to come up with a solution that allows the developer to specify a shorter
onAcquire/onRelease period, perhaps even just for the duration of a method invocation of a
control.



-- 
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