[jboss-dev-forums] [Design of EJB 3.0] - EJBTHREE-1291, deployment resolver unification
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Apr 16 07:03:17 EDT 2008
Related to the EJBTHREE-1291 work, there is duplicate logic going on for resolving component endpoints that is spread out across the DeploymentScope
EjbModuleEjbResolver, EjbModulePersistenceUnitResolver, MessageDestinationResolver and injection handler code.
I'm proposing either using the generalized DeploymentEndpointResolver spi in integration:
https://svn.jboss.org/repos/jbossas/projects/integration/trunk/jboss-deployment-spi/src/main/java/org/jboss/deployment/spi/
or at least mirroring this interface in DeploymentScope so that it can be properly implemented inside of jbossas. The EjbModuleEjbResolver, EjbModulePersistenceUnitResolver, MessageDestinationResolver code would be replaced based on this and the injection handler code should do no resolution as the metadata it receives has to have been resolved with the resolvedJndiName set.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144440#4144440
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144440
More information about the jboss-dev-forums
mailing list