[jboss-cvs] JBossAS SVN: r83879 - in projects/jboss-seam-int/trunk: jbossas/src/main/java/org/jboss/seam/integration/jbossas/vfs and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Feb 5 03:24:25 EST 2009
Author: alesj
Date: 2009-02-05 03:24:24 -0500 (Thu, 05 Feb 2009)
New Revision: 83879
Added:
projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamExplodeModificationTypeMatcher.java
projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamTempModificationTypeMatcher.java
Removed:
projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamModificationTypeMatcher.java
Modified:
projects/jboss-seam-int/trunk/jbossas/src/main/java/org/jboss/seam/integration/jbossas/vfs/VFSScanner.java
projects/jboss-seam-int/trunk/pom.xml
Log:
Add explode matcher.
Modified: projects/jboss-seam-int/trunk/jbossas/src/main/java/org/jboss/seam/integration/jbossas/vfs/VFSScanner.java
===================================================================
--- projects/jboss-seam-int/trunk/jbossas/src/main/java/org/jboss/seam/integration/jbossas/vfs/VFSScanner.java 2009-02-05 08:19:30 UTC (rev 83878)
+++ projects/jboss-seam-int/trunk/jbossas/src/main/java/org/jboss/seam/integration/jbossas/vfs/VFSScanner.java 2009-02-05 08:24:24 UTC (rev 83879)
@@ -13,8 +13,7 @@
import org.jboss.seam.log.Logging;
import org.jboss.virtual.VFS;
import org.jboss.virtual.VirtualFile;
-import org.jboss.virtual.spi.cache.VFSCache;
-import org.jboss.virtual.spi.cache.VFSCacheFactory;
+import org.jboss.virtual.spi.registry.VFSRegistry;
/**
* JBoss VFS aware scanner.
@@ -46,8 +45,8 @@
log.trace("Root url: " + url);
// try cache first, it should also have proper depth
- VFSCache cache = VFSCacheFactory.getInstance();
- VirtualFile vf = cache.getFile(url);
+ VFSRegistry registry = VFSRegistry.getInstance();
+ VirtualFile vf = registry.getFile(url);
int depth = parentDepth;
while (vf != null && depth > 0)
{
Added: projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamExplodeModificationTypeMatcher.java
===================================================================
--- projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamExplodeModificationTypeMatcher.java (rev 0)
+++ projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamExplodeModificationTypeMatcher.java 2009-02-05 08:24:24 UTC (rev 83879)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.seam.integration.microcontainer.deployers;
+
+import org.jboss.deployers.vfs.plugins.structure.modify.ExplodeTopModificationTypeMatcher;
+
+/**
+ * Enable temp modification for Seam apps.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class SeamExplodeModificationTypeMatcher extends ExplodeTopModificationTypeMatcher
+{
+ public SeamExplodeModificationTypeMatcher()
+ {
+ super(SeamConstants.SEAM_FILES);
+ }
+}
\ No newline at end of file
Deleted: projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamModificationTypeMatcher.java
===================================================================
--- projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamModificationTypeMatcher.java 2009-02-05 08:19:30 UTC (rev 83878)
+++ projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamModificationTypeMatcher.java 2009-02-05 08:24:24 UTC (rev 83879)
@@ -1,37 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.seam.integration.microcontainer.deployers;
-
-import org.jboss.deployers.vfs.plugins.structure.modify.TempTopModificationTypeMatcher;
-
-/**
- * Enable temp modification for Seam apps.
- *
- * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
- */
-public class SeamModificationTypeMatcher extends TempTopModificationTypeMatcher
-{
- public SeamModificationTypeMatcher()
- {
- super(SeamConstants.SEAM_FILES);
- }
-}
Copied: projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamTempModificationTypeMatcher.java (from rev 83493, projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamModificationTypeMatcher.java)
===================================================================
--- projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamTempModificationTypeMatcher.java (rev 0)
+++ projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamTempModificationTypeMatcher.java 2009-02-05 08:24:24 UTC (rev 83879)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.seam.integration.microcontainer.deployers;
+
+import org.jboss.deployers.vfs.plugins.structure.modify.TempTopModificationTypeMatcher;
+
+/**
+ * Enable temp modification for Seam apps.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class SeamTempModificationTypeMatcher extends TempTopModificationTypeMatcher
+{
+ public SeamTempModificationTypeMatcher()
+ {
+ super(SeamConstants.SEAM_FILES);
+ }
+}
\ No newline at end of file
Property changes on: projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamTempModificationTypeMatcher.java
___________________________________________________________________
Name: svn:mergeinfo
+
Modified: projects/jboss-seam-int/trunk/pom.xml
===================================================================
--- projects/jboss-seam-int/trunk/pom.xml 2009-02-05 08:19:30 UTC (rev 83878)
+++ projects/jboss-seam-int/trunk/pom.xml 2009-02-05 08:24:24 UTC (rev 83879)
@@ -28,11 +28,11 @@
<properties>
<version.jboss.seam>2.1.1-SNAPSHOT</version.jboss.seam>
- <version.jboss.vfs>2.0.1.GA</version.jboss.vfs>
+ <version.jboss.vfs>2.2.0-SNAPSHOT</version.jboss.vfs>
<version.jboss.man>2.0.0.GA</version.jboss.man>
<version.jboss.microcontainer>2.0.3.GA</version.jboss.microcontainer>
<version.jboss.cl>2.0.2.GA</version.jboss.cl>
- <version.jboss.deployers>2.0.4.GA</version.jboss.deployers>
+ <version.jboss.deployers>2.2.0-SNAPSHOT</version.jboss.deployers>
<version.jboss.common.core>2.2.10.GA</version.jboss.common.core>
<version.jboss.logging.spi>2.0.5.GA</version.jboss.logging.spi>
<version.jboss.classloading.spi>5.0.3.GA</version.jboss.classloading.spi>
More information about the jboss-cvs-commits
mailing list