[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-31 Thread [EMAIL PROTECTED]
In general this kind of problem is a cross cutting concern. We have some tree of metadata that needs processing by a deployer aspect, but only some parts of the metadata are relevent to it. This is usually done by a vistor pattern. But as we know, patterns are best implemented with aspects. 1)

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-31 Thread [EMAIL PROTECTED]
Right, security and logging are aspects which should be applied to the deployment stack, not actually be deployers themselves. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3864398#3864398 Reply to the post :

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-30 Thread [EMAIL PROTECTED]
This is the common behavior mode when there is aggregation: anonymous wrote : | The use case I can think of where coupling of metadata is required is when the classloader metadata is constructed. Each subdeployment can add metadata (urls) to the top level metadata that creates the

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-24 Thread [EMAIL PROTECTED]
Dimitris wrote : | Lets say we have: | | a.bean | |-b.bean | |-c.jar | | And just 3 deployers, registered in that priority order: | | (C)lassLoadingDeployer - (B)eanDeployer - (J)ARDeployer. | | After the deployment structure is analyzed (by the bean jar deployers)

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-24 Thread [EMAIL PROTECTED]
The second stage deployers still need to ordered, but it may not be the same order as the structural orders. The difference is that ALL second stage deployers get to process the deployment. The second stage deployers create the BeanMetaData and (un)install it to the kernel. They DO NOT create

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-24 Thread [EMAIL PROTECTED]
It would not be a good idea to have the deployers know their own next since the list can be potentially built and ordered dynamically. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863401#3863401 Reply to the post :

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-24 Thread [EMAIL PROTECTED]
The points you mention are clear more less, i.e. deployers don't know their next, they all process the deployment after the structure has been identified and they don't instantiate objects directly. Their order is decided at registration time. What I'm trying to understant is, when having a

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-24 Thread [EMAIL PROTECTED]
I couldn't give you an answer to this without looking at use cases. I would certainly stick to the current rules (deepest first). My gut fealing is that you pass each deployment/subdeployment individually down the chain. i.e. assume each deployment is independent. PRO: We don't want

[JBoss-dev] [Design the new POJO MicroContainer] - Re: Deployers overview

2005-01-05 Thread [EMAIL PROTECTED]
Add some tasks for the deployer framework: http://jira.jboss.com/jira/browse/JBMICROCONT-5 http://jira.jboss.com/jira/browse/JBMICROCONT-6 http://jira.jboss.com/jira/browse/JBMICROCONT-7 http://jira.jboss.com/jira/browse/JBMICROCONT-8 http://jira.jboss.com/jira/browse/JBMICROCONT-9