[jboss-dev-forums] [Design the new POJO MicroContainer] - New deployer stages
adrian@jboss.org
do-not-reply at jboss.com
Wed Feb 27 05:14:03 EST 2008
I've added three new deployer stages.
POST_PARSE
Some people are still doing processing in the Parsing Deployer which doesn't get
invoked if the metadata is predetermined.
You can use a POST_PARSE deployer to do this extra work
(regardless of where the metadata came from).
PRE_DESCRIBE
This is mainly just for setting the default classloading rules.
PRE_REAL
We discussed the possiblity of this on a different thread.
It basically allows the construction of two stage real deployers
like the two stage classloading.
i.e. PRE_REAL determines what dependencies should be satisifed
before the deployment moves to the REAL stage.
In practice the PRE_REAL is just a hack, since these dependencies
should be defined on the POJOs rather than the deployments if you've done
it properly. But it should allow the temporary/partial fixing of some problems
until it is fixed properly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132431#4132431
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132431
More information about the jboss-dev-forums
mailing list