[jboss-cvs] JBossAS SVN: r58026 - trunk/ejb3/src/main/org/jboss/ejb3/deployers

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 2 16:39:37 EST 2006


Author: scott.stark at jboss.org
Date: 2006-11-02 16:39:36 -0500 (Thu, 02 Nov 2006)
New Revision: 58026

Modified:
   trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBossClientParsingDeployer.java
Log:
Remove the hard-coded getRelativeOrder override and instead set the default from the ctor.

Modified: trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBossClientParsingDeployer.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBossClientParsingDeployer.java	2006-11-02 21:15:24 UTC (rev 58025)
+++ trunk/ejb3/src/main/org/jboss/ejb3/deployers/JBossClientParsingDeployer.java	2006-11-02 21:39:36 UTC (rev 58026)
@@ -38,9 +38,14 @@
 {
    private String jbossClientXmlPath = "jboss-client.xml";
    
+   /**
+    * Set the relative order to PARSER_DEPLOYER+1 by default
+    *
+    */   
    public JBossClientParsingDeployer()
    {
       super(ApplicationClientDD.class);
+      setRelativeOrder(PARSER_DEPLOYER + 1);
    }
    
    @Override
@@ -50,12 +55,6 @@
    }
    
    @Override
-   public int getRelativeOrder()
-   {
-      return PARSER_DEPLOYER + 1;
-   }
-   
-   @Override
    protected ObjectModelFactory getObjectModelFactory(ApplicationClientDD root)
    {
       return new JBossClientDDObjectFactory(root);




More information about the jboss-cvs-commits mailing list