-
1. Re: DeploymentInfo and DeploymentContext information
starksm64 Nov 8, 2006 5:45 AM (in response to vickyk)The classes used and mentioned in http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5DeploymentFramework is org.jboss.deployers.spi.deployer.DeploymentUnit. There is no use of DeploymentInfo by the new framework.
-
2. Re: DeploymentInfo and DeploymentContext information
vickyk Nov 8, 2006 12:40 PM (in response to vickyk)Why is then system-jmx present in the trunk code?
https://svn.jboss.org/repos/jbossas/trunk/system-jmx/
This contains the ServerInfo class, also I saw some of the testsuite having this which created the confusion. -
3. Re: DeploymentInfo and DeploymentContext information
vickyk Nov 8, 2006 12:43 PM (in response to vickyk)I was looking at this jira
http://jira.jboss.com/jira/browse/JBAS-3411
This pointed to the org.jboss.test.deployers.ear.test.EARNoAppXmlDeploymentUnitTestCase where I could see the DeploymentInfo getting used . -
4. Re: DeploymentInfo and DeploymentContext information
starksm64 Nov 8, 2006 11:27 PM (in response to vickyk)system-jmx contains both the old deployer classes and the new mc based deployers. The tests still need to be updated to the VDF.
-
5. Re: DeploymentInfo and DeploymentContext information
vickyk Nov 29, 2006 6:13 AM (in response to vickyk)It looks that a DeploymentUnit(DU) contains multiple DeploymentContext(DC)
and each DC is linked to only one DU .
Considering the deployment asA.sar(DC1) -->B.sar(DC2) ---------->C.ear(DC3) ---------->D.ear(DC4) --->E.ear(DC5) ---------->G.war(DC6) ----------->H.war(DC7) ---->I.jar(EJB) (DC8)
And all the DC's for a Tree which is represented by DU , this is logical relationship .
Is this how it goes ? -
6. Re: DeploymentInfo and DeploymentContext information
bill.burke Nov 29, 2006 10:17 AM (in response to vickyk)DU-DC is a one-to-one relationship. Not one-to-many.
The EJB Deployer only deals with DeploymentUnits.