[jboss-cvs] JBossAS SVN: r83750 - trunk/system/src/main/org/jboss/system/server/profileservice.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Feb 1 11:27:51 EST 2009


Author: emuckenhuber
Date: 2009-02-01 11:27:51 -0500 (Sun, 01 Feb 2009)
New Revision: 83750

Removed:
   trunk/system/src/main/org/jboss/system/server/profileservice/DeploymentPhaseVFSScanner.java
Log:
remove deprecated deploymentPhaseScanner 

Deleted: trunk/system/src/main/org/jboss/system/server/profileservice/DeploymentPhaseVFSScanner.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/DeploymentPhaseVFSScanner.java	2009-02-01 14:48:03 UTC (rev 83749)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/DeploymentPhaseVFSScanner.java	2009-02-01 16:27:51 UTC (rev 83750)
@@ -1,58 +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.system.server.profileservice;
-
-import org.jboss.deployers.vfs.spi.client.VFSDeployment;
-import org.jboss.profileservice.spi.Profile;
-import org.jboss.virtual.VirtualFile;
-import org.jboss.managed.api.ManagedDeployment;
-
-/**
- * DeploymentPhaseScanner.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
- at Deprecated
-public abstract class DeploymentPhaseVFSScanner extends VFSScanner
-{
-   private ManagedDeployment.DeploymentPhase phase;
-
-   protected DeploymentPhaseVFSScanner(ManagedDeployment.DeploymentPhase phase)
-   {
-      if (phase == null)
-         throw new IllegalArgumentException("Null deployment phase");
-      this.phase = phase;
-   }
-
-   protected VFSDeployment add(Profile profile, VirtualFile file) throws Exception
-   {
-      VFSDeployment deployment = createDeployment(file);
-//      if(profile.hasDeployment(deployment.getName()) == false)
-//         profile.addDeployment(deployment);
-      return deployment;
-   }
-
-   protected void remove(Profile profile, String name) throws Exception
-   {
-      profile.removeDeployment(name);
-   }
-}




More information about the jboss-cvs-commits mailing list