[jboss-cvs] JBossAS SVN: r91502 - in projects/jboss-deployers/trunk: deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main and 4 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jul 21 13:04:16 EDT 2009


Author: alesj
Date: 2009-07-21 13:04:16 -0400 (Tue, 21 Jul 2009)
New Revision: 91502

Added:
   projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerInternals.java
Modified:
   projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/main/MainDeployerImpl.java
   projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerStructure.java
   projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/AbstractStructureModificationChecker.java
   projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/MetaDataStructureModificationChecker.java
   projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/SynchWrapperModificationChecker.java
   projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/BootstrapDeployersTest.java
   projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/AbstractSynchTest.java
   projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/MetaDataStructureModificationTestCase.java
   projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/StructureModificationTest.java
   projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structureprocessor/test/VFSStructureProcessorUnitTestCase.java
Log:
[JBDEPLOY-206]; create "internal" interface for MainDeployer.

Modified: projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/main/MainDeployerImpl.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/main/MainDeployerImpl.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/main/MainDeployerImpl.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -48,6 +48,7 @@
 import org.jboss.deployers.structure.spi.DeploymentUnit;
 import org.jboss.deployers.structure.spi.StructuralDeployers;
 import org.jboss.deployers.structure.spi.helpers.RevertedDeploymentContextComparator;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
 import org.jboss.logging.Logger;
 import org.jboss.managed.api.ManagedDeployment;
@@ -63,7 +64,7 @@
  * @author <a href="ales.justin at jboss.com">Ales Justin</a>
  * @version $Revision$
  */
-public class MainDeployerImpl implements MainDeployer, MainDeployerStructure
+public class MainDeployerImpl implements MainDeployer, MainDeployerStructure, MainDeployerInternals
 {
    /** The log */
    private static final Logger log = Logger.getLogger(MainDeployerImpl.class);
@@ -235,12 +236,6 @@
       return unit;
    }
 
-   /**
-    * Get a top level deployment context by name
-    *
-    * @param name the name
-    * @return the context
-    */
    public DeploymentContext getTopLevelDeploymentContext(String name)
    {
       if (name == null)
@@ -249,33 +244,16 @@
       return topLevelDeployments.get(name);
    }
 
-   // TODO - introduce some interface or push to MDStructure
-
-   /**
-    * Get all deployments.
-    *
-    * @return all deployments
-    */
    public Collection<DeploymentContext> getAll()
    {
       return Collections.unmodifiableCollection(allDeployments.values());
    }
 
-   /**
-    * Get errors.
-    *
-    * @return the errors
-    */
    public Collection<DeploymentContext> getErrors()
    {
       return Collections.unmodifiableCollection(errorDeployments.values());
    }
 
-   /**
-    * Get missing deployers deployments.
-    *
-    * @return the missing deployer deployments
-    */
    public Collection<Deployment> getMissingDeployer()
    {
       return Collections.unmodifiableCollection(missingDeployers.values());
@@ -921,7 +899,14 @@
       return getManagedObjects(context);
    }
 
-   public Map<String, ManagedObject> getManagedObjects(DeploymentContext context) throws DeploymentException
+   /**
+    * Get managed objects.
+    *
+    * @param context the deployment context
+    * @return map of managed objects
+    * @throws DeploymentException for any error
+    */
+   protected Map<String, ManagedObject> getManagedObjects(DeploymentContext context) throws DeploymentException
    {
       if (context == null)
          throw new IllegalArgumentException("Null context");

Copied: projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerInternals.java (from rev 91150, projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerStructure.java)
===================================================================
--- projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerInternals.java	                        (rev 0)
+++ projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerInternals.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -0,0 +1,87 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.deployers.structure.spi.main;
+
+import java.util.Collection;
+
+import org.jboss.deployers.client.spi.Deployment;
+import org.jboss.deployers.spi.DeploymentException;
+import org.jboss.deployers.structure.spi.DeploymentContext;
+
+/**
+ * Expose some of the internals via proper interface.
+ * Should be used with care or not at all,
+ * as these are impl details, which are subject to change.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public interface MainDeployerInternals
+{
+   /**
+    * Get a deployment context
+    *
+    * @param name the name of the context
+    * @return the context or null if not found
+    * @throws IllegalArgumentException for a null name
+    */
+   DeploymentContext getDeploymentContext(String name);
+
+   /**
+    * Get a deployment context
+    *
+    * @param name the name of the context
+    * @param errorNotFound whether to throw an error if not found
+    * @return the context
+    * @throws IllegalArgumentException for a null name
+    * @throws DeploymentException for not found
+    */
+   DeploymentContext getDeploymentContext(String name, boolean errorNotFound) throws DeploymentException;
+
+   /**
+    * Get a top level deployment context by name
+    *
+    * @param name the name
+    * @return the context
+    */
+   DeploymentContext getTopLevelDeploymentContext(String name);
+
+   /**
+    * Get all deployments.
+    *
+    * @return all deployments
+    */
+   Collection<DeploymentContext> getAll();
+
+   /**
+    * Get errors.
+    *
+    * @return the errors
+    */
+   Collection<DeploymentContext> getErrors();
+
+   /**
+    * Get missing deployers deployments.
+    *
+    * @return the missing deployer deployments
+    */
+   Collection<Deployment> getMissingDeployer();
+}

Modified: projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerStructure.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerStructure.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-structure-spi/src/main/java/org/jboss/deployers/structure/spi/main/MainDeployerStructure.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -22,13 +22,13 @@
 package org.jboss.deployers.structure.spi.main;
 
 import org.jboss.deployers.spi.DeploymentException;
-import org.jboss.deployers.structure.spi.DeploymentContext;
 import org.jboss.deployers.structure.spi.DeploymentUnit;
 
 /**
  * MainDeployerStructure.
  * 
  * @author <a href="adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="ales.justin at jboss.org">Ales Justin</a>
  * @version $Revision: 1.1 $
  */
 public interface MainDeployerStructure
@@ -52,26 +52,4 @@
     * @throws DeploymentException for not found
     */
    DeploymentUnit getDeploymentUnit(String name, boolean errorNotFound) throws DeploymentException;
-
-   /**
-    * Get a deployment context
-    * 
-    * @param name the name of the context
-    * @return the context or null if not found
-    * @throws IllegalArgumentException for a null name
-    */
-   @Deprecated
-   DeploymentContext getDeploymentContext(String name);
-
-   /**
-    * Get a deployment context
-    * 
-    * @param name the name of the context
-    * @param errorNotFound whether to throw an error if not found
-    * @return the context
-    * @throws IllegalArgumentException for a null name
-    * @throws DeploymentException for not found
-    */
-   @Deprecated
-   DeploymentContext getDeploymentContext(String name, boolean errorNotFound) throws DeploymentException;
 }

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/BootstrapDeployersTest.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/BootstrapDeployersTest.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/BootstrapDeployersTest.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -38,6 +38,7 @@
 import org.jboss.deployers.client.spi.DeployerClient;
 import org.jboss.deployers.structure.spi.DeploymentUnit;
 import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.vfs.spi.client.VFSDeployment;
 import org.jboss.deployers.vfs.spi.client.VFSDeploymentFactory;
 import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
@@ -77,6 +78,11 @@
       return getDelegate().getMainDeployer();
    }
    
+   protected MainDeployerInternals getMainDeployerInternals()
+   {
+      return getDelegate().getMainDeployer();
+   }
+
    protected String getRoot(Class<?> clazz)
    {
       ProtectionDomain pd = clazz.getProtectionDomain();

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/AbstractSynchTest.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/AbstractSynchTest.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/AbstractSynchTest.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -21,7 +21,7 @@
  */
 package org.jboss.test.deployers.vfs.structure.modified.test;
 
-import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.vfs.spi.structure.modified.MetaDataStructureModificationChecker;
 import org.jboss.deployers.vfs.spi.structure.modified.StructureModificationChecker;
 import org.jboss.deployers.vfs.spi.structure.modified.SynchAdapter;
@@ -44,12 +44,12 @@
 
    protected StructureModificationChecker createStructureModificationChecker()
    {
-      MainDeployerStructure mainDeployerStructure = getMainDeployerStructure();
+      MainDeployerInternals mainDeployerInternals = getMainDeployerInternals();
       VirtualFileFilter filter = createFilter();
       VirtualFileFilter recurseFilter = createRecurseFilter();
       SynchAdapter synchAdapter = createSynchAdapter();
 
-      MetaDataStructureModificationChecker mdsmc = new MetaDataStructureModificationChecker(mainDeployerStructure);
+      MetaDataStructureModificationChecker mdsmc = new MetaDataStructureModificationChecker(mainDeployerInternals);
       mdsmc.setFilter(filter);
       mdsmc.start();
 

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/MetaDataStructureModificationTestCase.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/MetaDataStructureModificationTestCase.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/MetaDataStructureModificationTestCase.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -25,7 +25,7 @@
 import java.net.URL;
 
 import junit.framework.Test;
-import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
 import org.jboss.deployers.vfs.spi.structure.modified.MetaDataStructureModificationChecker;
 import org.jboss.deployers.vfs.spi.structure.modified.StructureCache;
@@ -53,9 +53,9 @@
       return suite(MetaDataStructureModificationTestCase.class);
    }
 
-   protected StructureModificationChecker createStructureModificationChecker(MainDeployerStructure mainDeployerStructure, VirtualFileFilter filter)
+   protected StructureModificationChecker createStructureModificationChecker(MainDeployerInternals mainDeployerInternals, VirtualFileFilter filter)
    {
-      MetaDataStructureModificationChecker structureModificationChecker = new MetaDataStructureModificationChecker(mainDeployerStructure);
+      MetaDataStructureModificationChecker structureModificationChecker = new MetaDataStructureModificationChecker(mainDeployerInternals);
       structureModificationChecker.setCache(createStructureCache());
       structureModificationChecker.setFilter(filter);
       return structureModificationChecker;

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/StructureModificationTest.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/StructureModificationTest.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/StructureModificationTest.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -21,9 +21,9 @@
  */
 package org.jboss.test.deployers.vfs.structure.modified.test;
 
-import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
+import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
 import org.jboss.deployers.vfs.spi.structure.modified.StructureModificationChecker;
-import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
 import org.jboss.test.deployers.vfs.webbeans.test.AbstractWebBeansTest;
 import org.jboss.virtual.AssembledDirectory;
 import org.jboss.virtual.VirtualFileFilter;
@@ -42,12 +42,12 @@
 
    protected StructureModificationChecker createStructureModificationChecker()
    {
-      MainDeployerStructure mainDeployer = getMainDeployerStructure();
+      MainDeployerInternals mainDeployer = getMainDeployerInternals();
       VirtualFileFilter filter = createFilter();
       return createStructureModificationChecker(mainDeployer, filter);
    }
 
-   protected abstract StructureModificationChecker createStructureModificationChecker(MainDeployerStructure mainDeployerStructure, VirtualFileFilter filter);
+   protected abstract StructureModificationChecker createStructureModificationChecker(MainDeployerInternals mainDeployerInternals, VirtualFileFilter filter);
 
    protected abstract VirtualFileFilter createFilter();
 

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structureprocessor/test/VFSStructureProcessorUnitTestCase.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structureprocessor/test/VFSStructureProcessorUnitTestCase.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structureprocessor/test/VFSStructureProcessorUnitTestCase.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -27,16 +27,16 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import org.jboss.deployers.client.spi.DeployerClient;
-import org.jboss.deployers.plugins.main.MainDeployerImpl;
+import org.jboss.deployers.spi.structure.ModificationType;
 import org.jboss.deployers.structure.spi.DeploymentContext;
 import org.jboss.deployers.structure.spi.StructureProcessor;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.vfs.plugins.structure.jar.JARStructure;
 import org.jboss.deployers.vfs.plugins.structure.modify.FileModificationTypeMatcher;
 import org.jboss.deployers.vfs.plugins.structure.modify.ModificationTypeMatcher;
 import org.jboss.deployers.vfs.plugins.structure.modify.ModificationTypeStructureProcessor;
 import org.jboss.deployers.vfs.spi.client.VFSDeployment;
 import org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext;
-import org.jboss.deployers.spi.structure.ModificationType;
 import org.jboss.virtual.VFSUtils;
 import org.jboss.virtual.VirtualFile;
 
@@ -88,7 +88,7 @@
 
    protected VFSDeploymentContext getTopDeploymentContext(DeployerClient main, String name)
    {
-      MainDeployerImpl mdi = (MainDeployerImpl)main;
+      MainDeployerInternals mdi = (MainDeployerInternals)main;
       Collection<DeploymentContext> all = mdi.getAll();
       for (DeploymentContext dc : all)
       {

Modified: projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/AbstractStructureModificationChecker.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/AbstractStructureModificationChecker.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/AbstractStructureModificationChecker.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -26,7 +26,7 @@
 
 import org.jboss.deployers.client.spi.Deployment;
 import org.jboss.deployers.structure.spi.DeploymentContext;
-import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.vfs.spi.client.VFSDeployment;
 import org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext;
 import org.jboss.logging.Logger;
@@ -44,7 +44,7 @@
    protected Logger log = Logger.getLogger(getClass());
 
    /** The main deployer structure */
-   private MainDeployerStructure mainDeployer;
+   private MainDeployerInternals mainDeployer;
 
    /** The structure cache */
    private StructureCache<T> cache;
@@ -53,7 +53,7 @@
    {
    }
 
-   protected AbstractStructureModificationChecker(MainDeployerStructure mainDeployer)
+   protected AbstractStructureModificationChecker(MainDeployerInternals mainDeployer)
    {
       if (mainDeployer == null)
          throw new IllegalArgumentException("Null main deployer");
@@ -89,7 +89,7 @@
     *
     * @return the main deployer structure
     */
-   protected MainDeployerStructure getMainDeployerStructure()
+   protected MainDeployerInternals getMainDeployerInternals()
    {
       if (mainDeployer == null)
          throw new IllegalArgumentException("Null main deployer structure");
@@ -106,7 +106,7 @@
    @SuppressWarnings("deprecation")
    protected VFSDeploymentContext getDeploymentContext(String name)
    {
-      DeploymentContext deploymentContext = getMainDeployerStructure().getDeploymentContext(name);
+      DeploymentContext deploymentContext = getMainDeployerInternals().getDeploymentContext(name);
       if (deploymentContext == null || deploymentContext instanceof VFSDeploymentContext == false)
          return null;
 

Modified: projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/MetaDataStructureModificationChecker.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/MetaDataStructureModificationChecker.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/MetaDataStructureModificationChecker.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -28,7 +28,7 @@
 
 import org.jboss.deployers.spi.structure.ContextInfo;
 import org.jboss.deployers.spi.structure.StructureMetaData;
-import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext;
 import org.jboss.virtual.VirtualFile;
 import org.jboss.virtual.VirtualFileFilter;
@@ -57,7 +57,7 @@
    /** The structure cache filter */
    private StructureCacheFilter cacheFilter;
 
-   public MetaDataStructureModificationChecker(MainDeployerStructure mainDeployer)
+   public MetaDataStructureModificationChecker(MainDeployerInternals mainDeployer)
    {
       super(mainDeployer);
    }

Modified: projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/SynchWrapperModificationChecker.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/SynchWrapperModificationChecker.java	2009-07-21 16:48:34 UTC (rev 91501)
+++ projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/modified/SynchWrapperModificationChecker.java	2009-07-21 17:04:16 UTC (rev 91502)
@@ -23,7 +23,7 @@
 
 import java.io.IOException;
 
-import org.jboss.deployers.structure.spi.main.MainDeployerStructure;
+import org.jboss.deployers.structure.spi.main.MainDeployerInternals;
 import org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext;
 import org.jboss.virtual.VirtualFile;
 import org.jboss.virtual.VirtualFileFilter;
@@ -71,9 +71,9 @@
    }
 
    @Override
-   protected MainDeployerStructure getMainDeployerStructure()
+   protected MainDeployerInternals getMainDeployerInternals()
    {
-      return delegate.getMainDeployerStructure();
+      return delegate.getMainDeployerInternals();
    }
 
    @Override




More information about the jboss-cvs-commits mailing list