|
Loading...
|
hivemind-dev@jakarta.apache.org
[Prev] Thread [Next] | [Prev] Date [Next]
[jira] Updated: (HIVEMIND-179) Provide access to the Registry Jochen Zimmermann (JIRA) Fri Jul 11 10:06:44 2008
[
https://issues.apache.org/jira/browse/HIVEMIND-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Zimmermann updated HIVEMIND-179:
---------------------------------------
Attachment: HIVEMIND-179.txt
> Provide access to the Registry
> ------------------------------
>
> Key: HIVEMIND-179
> URL: https://issues.apache.org/jira/browse/HIVEMIND-179
> Project: HiveMind
> Issue Type: New Feature
> Components: framework
> Reporter: Martin Strand
> Attachments: HIVEMIND-179.txt
>
>
> There is currently no way for a service to access its own Registry.
> This would be useful sometimes, for example if you've got a listener that is
> invoked from a non-Hivemind thread:
> public class MyService()
> {
> private Registry registry;
> public MyService()
> {
> registry = getRegistry(); // <-- Need this
> OutsideHivemind.registerListener(this);
> }
> public void invokeListener()
> {
> registry.setupThread();
> // Use some Hivemind services...
> registry.cleanupThread();
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
- [jira] Updated: (HIVEMIND-179) Provide access to the Registry Jochen Zimmermann (JIRA) 2008/07/11 <=