[
http://jira.jboss.com/jira/browse/JBMICROCONT-23?page=all ]
Ales Justin resolved JBMICROCONT-23.
------------------------------------
Resolution: Done
Annotations added - in org.jboss.beans.metadata.spi.annotations.
Modified LifecycleAction in such way that it first checks for lifecycle metadata, then
annotations and finally default lifecycle method name.
With annotations only no argument /parameter methods are currently supported.
Added AnnotatedLifecycleTestCase with AnnotatedLifecycleBean.
Still undone is how to include parameters with anotated lifecycle methods - maybe another
JIRA issue?
Lifecycle
---------
Key: JBMICROCONT-23
URL:
http://jira.jboss.com/jira/browse/JBMICROCONT-23
Project: JBoss MicroContainer
Issue Type: Task
Components: Dependency
Reporter: Adrian Brock
Assigned To: Ales Justin
Fix For: JBossMC-2.0.0.GA
Add support for lifecycle annotations
@CreateLifeCycle
@StartLifeCycle
@StopLifeCycle
@DestroyLifeCycle
and annotate org.jboss.system.Service.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira