You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <ji...@apache.org> on 2006/12/18 23:01:23 UTC
[jira] Created: (BEEHIVE-1169) Allow for finer scoped resource
management in controls
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