Package org.jboss.profileservice.spi

Examples of org.jboss.profileservice.spi.ProfileDeployment


   {
      if(vfsPath == null)
         throw new IllegalArgumentException("Null vfsPath");
     
      // Get the deployment
      ProfileDeployment deployment = super.removeDeployment(vfsPath);
      // Remove the entries
      this.contentFlags.remove(deployment.getName());
      // Return
      return deployment;
   }
View Full Code Here


   public ProfileDeployment getDeployment(String vfsPath) throws NoSuchDeploymentException
   {
      if(vfsPath == null)
         throw new IllegalArgumentException("Null vfsPath");
     
      ProfileDeployment ctx = super.getDeployment(vfsPath);
      if(ctx == null)
      {
         List<String> names = findDeploymentContent(vfsPath);
         if(names.size() == 1)
         {
View Full Code Here

         log.trace("Aquiring content write lock");
      lockWrite();
      try
      {
         // Remove the deployment from the filesystem
         ProfileDeployment deployment = getDeployment(vfsPath);
         VirtualFile root = deployment.getRoot();
        
         if(deleteFile && root != null)
         {
            // Delete the file
            if(root.delete() == false)
               throw new IOException("Failed to delete: " + root);
           
            cleanUpRoot(root)
         }
        
         // Cleanup
         return super.removeDeployment(deployment.getName());
      }
      finally
      {
         unlockWrite();
         if (log.isTraceEnabled())
View Full Code Here

TOP

Related Classes of org.jboss.profileservice.spi.ProfileDeployment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.