Lifecycle Events and Handlers ----------------------------- Key: GAD-6 URL: http://issues.ops4j.org/browse/GAD-6 Project: Gaderian Issue Type: New Feature Components: Core Affects Versions: 1.0 Reporter: Raffael Herzog Assignee: Raffael Herzog
There should be a generic mechanism for handling lifecycle events of services. The following events should be covered: * creation/initialisation * activation * passivation * destruction It's still to be discussed whether some of these event should have a pre and post handler (pre-activation and post-activation). Esp. with destruction, this may be very useful because in the current implementation, a service can't use another service during registry shutdown (e.g. for storing some state information to a DB). It's also to be discussed whether these handlers should be specified using an interface, annotations or in module.xml, or any of them. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general