public void persistentUninstall(URL deployableUnitURL) throws DeploymentException {
    try {
      // All we really care is for the filename
      String fullPath = deployableUnitURL.getFile();
      String filename = fullPath.substring(fullPath.lastIndexOf('/') + 1);

      // Here's what we want to delete
      String filePath = deployDir + File.separator + filename;

      // Delete it
      if(!new File(filePath).delete()) {
        throw new DeploymentException("Failed to delete " + filePath);
      }
    }
    catch (Exception e) {
      throw new DeploymentException(e);
    }
  }
public void persistentUninstall(URL deployableUnitURL) throws DeploymentException {
    try {
      
      String fullPath = deployableUnitURL.getFile();
      String filename = fullPath.substring(fullPath.lastIndexOf('/') + 1);

      
      String filePath = deployDir + File.separator + filename;

      
      if(!new File(filePath).delete()) {
        throw new DeploymentException("Failed to delete " + filePath);
      }
    }
    catch (Exception e) {
      throw new DeploymentException(e);
    }
  }
public void persistentUninstall ( URL deployableUnitURL ) throws DeploymentException { try { // All we really care is for the filename
 String fullPath = deployableUnitURL . getFile ( ) ; String filename = fullPath . substring ( fullPath . lastIndexOf ( ' ' ) + 1 ) ; // Here's what we want to delete
 String filePath = deployDir + File . separator + filename ; // Delete it
 if ( ! new File ( filePath ) . delete ( ) ) { throw new DeploymentException ( "Failed to delete " + filePath ) ; } } catch ( Exception e ) { throw new DeploymentException ( e ) ; } }
/*
(non-Javadoc)
@see org.mobicents.slee.container.deployment.jboss.DeploymentManagerMBean#persistentUninstall(java.net.URL)
/ * ( non - Javadoc )