/glassfish-3.1.2/web/web-glue/src/main/java/org/glassfish/web/upgrade/ |
H A D | WebConfigurationUpgrade.java | 67 private static void removeSerializedSessions(File dir) { argument 68 File[] files = dir.listFiles();
|
/glassfish-3.1.2/admin/backup/src/main/java/com/sun/enterprise/backup/ |
H A D | DirectoryFilter.java | 46 public boolean accept(File dir, String name) { argument 47 return new File(dir, name).isDirectory();
|
H A D | ZipFilenameFilter.java | 59 public boolean accept(File dir, String name) { argument
|
H A D | BackupFilenameManager.java | 64 this.dir = backupDir; 91 return new File(dir, fname + suffix + ".zip"); 98 throw new BackupWarningException("backup-res.NoBackupFiles", dir); 131 File[] zips = dir.listFiles(new ZipFilenameFilter()); 204 private final File dir; field in class:BackupFilenameManager
|
H A D | BackupRequest.java | 119 private void setBackupDir(File dir) { argument 120 backupDir = dir;
|
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
H A D | DirectoryClassLoader.java | 61 * @param dir the directory of jar files to load from 65 public DirectoryClassLoader(String dir, ClassLoader parent) argument 67 super(getJars(new File(dir)), parent); 74 * @param dir the directory of jar files to load from 78 public DirectoryClassLoader(File dir, ClassLoader parent) argument 80 super(getJars(dir), parent); 83 private static URL[] getJars(File dir) throws IOException { argument 84 File[] fjars = dir.listFiles(new FilenameFilter() { 85 public boolean accept(File dir, String name) { 90 throw new IOException(strings.get("DirError", dir)); [all...] |
H A D | ClassPathBuilder.java | 82 public ClassPathBuilder addAll(File dir, FileFilter filter) { argument 83 File[] files = dir.listFiles(filter);
|
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/ |
H A D | DirectoryMover.java | 58 * @param dir The directory to be renamed. 61 public boolean moveDirectory(File dir); argument
|
H A D | InteractiveInputImpl.java | 164 public boolean moveDirectory(File dir) { argument 169 dir.getName(), yes, no)); 179 UpgradeUtils.getUpgradeUtils(commonInfoModel).rename(dir);
|
H A D | UpgradeUtils.java | 178 public void rename(File dir) { argument 179 assert (dir.exists()); 180 File tempFile = new File(dir.getAbsolutePath() + ".original"); 192 logger.info(stringManager.getString("enterprise.tools.upgrade.util.copyDir", dir, tempFile)); 193 cloneDomain(dir.getAbsolutePath(), tempFile.getAbsolutePath()); 197 "enterprise.tools.upgrade.util.moveDir", dir, tempFile)); 198 dir.renameTo(tempFile);
|
/glassfish-3.1.2/tests/embedded/web/autodelete/src/test/java/org/glassfish/tests/embedded/web/autodelete/ |
H A D | ServletMain.java | 65 System.setProperty("basedir", System.getProperty("user.dir")); 77 File instanceRoot = new File(System.getProperty("user.dir"), "embeddedMain"); 125 private void listDir(File dir) { argument 126 if (!dir.exists()) { 127 System.out.println("Directory " + dir + " does not exist"); 130 for (File f : dir.listFiles()) {
|
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/ |
H A D | SyncRequest.java | 67 public String dir; field in class:SyncRequest
|
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/ |
H A D | CommonClassLoaderServiceImpl.java | 204 public boolean accept(File dir, String name) { 215 public boolean accept(File dir, String name) { argument 225 public boolean accept(File dir, String name) argument 227 if (super.accept(dir, name)) { 228 File file = new File(dir, name);
|
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/ |
H A D | AutoDeployDirectoryScanner.java | 120 // this should never be called from system dir autodeploy code... 153 protected File[] getListOfFiles(File dir) { argument 154 return getListOfFiles(dir, false); 157 protected File[] getListOfFiles(File dir, boolean includeSubDir) { argument 158 return getListOfFilesAsSet(dir, includeSubDir).toArray(new File[0]); 162 static Set<File> getListOfFilesAsSet(File dir, boolean includeSubDir) { argument 164 File[] dirFiles = dir.listFiles();
|
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/versioning/ |
H A D | VersioningService.java | 302 public String getVersionFromSameDir(File dir) argument 315 if (dir.toURI().toString().equals(app.getLocation())) {
|
/glassfish-3.1.2/web/war-util/src/main/java/org/glassfish/web/loader/ |
H A D | ServletContainerInitializerUtil.java | 364 * @param dir the directory to be scanned 367 private static void scanDirectory(File dir, ClassDependencyBuilder classInfo) { argument 368 File[] files = dir.listFiles();
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/ |
H A D | ExpandWar.java | 212 // If something went wrong, delete expanded dir to keep things 366 * @param dir File object representing the directory to be deleted 368 public static boolean delete(File dir) { argument 370 return delete(dir, true); 377 * @param dir File object representing the directory to be deleted 381 public static boolean delete(File dir, boolean logFailure) { argument 383 if (dir.isDirectory()) { 384 result = deleteDir(dir, logFailure); 386 if (dir.exists()) { 387 result = dir 406 deleteDir(File dir) argument 418 deleteDir(File dir, boolean logFailure) argument [all...] |
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/ |
H A D | BackupCommands.java | 131 protected void setBackupDir(String dir) { argument 132 backupdir = dir;
|
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/ |
H A D | ClusterOperationUtil.java | 301 * @param dir the caller-specified File to check 303 private static void validateIntermediateDownloadDir(final File dir) { argument 304 if (dir == null) { 307 if ( ! dir.exists()) { 308 dir.mkdirs(); 310 if (! dir.isDirectory() || ! dir.canWrite()) { 311 throw new IllegalArgumentException(dir.getAbsolutePath()); 316 private static File subdirectoryForInstance(final File dir, argument 318 return new File(dir, exe [all...] |
/glassfish-3.1.2/common/scattered-archive-api/src/main/java/org/glassfish/embeddable/archive/ |
H A D | Assembler.java | 193 void transferDir(File dir, JarOutputStream jos, String entryNamePrefix) argument 195 transferDir(dir, dir, jos, entryNamePrefix); 198 void transferDir(File basedir, File dir, JarOutputStream jos, String entryNamePrefix) argument 200 if (dir == null || jos == null) { 203 for (File f : dir.listFiles()) {
|
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/ |
H A D | Util.java | 87 static boolean deleteRecursive(File dir) { argument 88 for (File f : dir.listFiles()) { 95 return dir.delete();
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/ |
H A D | StandardHostDeployer.java | 885 * @param dir File object representing the directory to be deleted 887 protected void deleteDir(File dir) { argument 889 String files[] = dir.list(); 894 File file = new File(dir, files[i]); 901 dir.delete();
|
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/schemadoc/ |
H A D | HtmlFormat.java | 66 private File dir; field in class:HtmlFormat 72 dir = context.getDocDir(); 76 tocWriter = new PrintWriter(new FileWriter(new File(dir, "toc.HTML"))); 77 detail = new PrintWriter(new FileWriter(new File(dir, "detail.HTML"))); 207 writer = new PrintWriter(new File(dir, resource));
|
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ |
H A D | SynchronizeInstanceCommand.java | 267 sr.dir = "config-specific"; 326 private SyncRequest getModTimes(String dir, SyncLevel level) { argument 329 sr.dir = dir; 330 File fdir = new File(instanceDir, dir); 338 * Get the mod times for the entries in dir and add them to the 343 private void getFileModTimes(File dir, File baseDir, SyncRequest sr, argument 346 long time = dir.lastModified(); 351 for (String file : dir.list()) { 352 File f = new File(dir, fil 434 expand(File dir, File archive) argument [all...] |
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/gui/ |
H A D | MainFrame.java | 344 public boolean moveDirectory(File dir) { argument 346 "upgrade.gui.util.domainRenameOption", dir.getName())); 354 UpgradeUtils.getUpgradeUtils(commonInfoModel).rename(dir);
|