[jboss-as7-dev] Allign deployment phases with OSGi terminology

Thomas Diesler thomas.diesler at jboss.com
Thu Jul 26 10:04:53 EDT 2012


Folks,

this is related to AS7-3585 <https://issues.jboss.org/browse/AS7-3585>

I propose the following mapping

STRUCTURE         =>   STRUCTURE

PARSE             =>   PRE_INSTALL
REGISTER          =>   INSTALL
                   =>   POST_INSTALL

DEPENDENCIES      =>   PRE_RESOLVE
CONFIGURE_MODULE  =>   RESOLVE
FIRST_MODULE_USE  =>   POST_RESOLVE

POST_MODULE       =>   PRE_ACTIVATE
INSTALL           =>   ACTIVATE
                   =>   POST_ACTIVATE

CLEANUP           =>   CLEANUP

In a first commit I would simple rename the phases and associated 
constants but not the DUPs that have the phase in their class name.
This would also address the need for a new phase (POST_ACTIVATE) that is 
needed for OSGi webapp integration.

Thoughts?

cheers
-thomas

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20120726/9520f1bc/attachment.html 


More information about the jboss-as7-dev mailing list