/glassfish-3.1.2/admin/backup/src/main/java/com/sun/enterprise/backup/util/ |
H A D | BackupUtils.java | 58 File[] files = null; 63 // and chmod files inside dir to rw------- 68 // domain files. 82 files = f.listFiles(); 84 if(files == null || files.length < 1) 87 files = new File[] { f }; 90 for(File file : files) { 142 private static boolean makeExecutable(File[] files) { argument 166 if(files [all...] |
/glassfish-3.1.2/build/maven-glassfishbuild-plugin/src/main/java/com/sun/enterprise/build/ |
H A D | SetPropertiesMojo.java | 63 * The properties files used when reading properties. 66 private File[] files; field in class:SetPropertiesMojo 69 * Optional paths to properties files to be used. 86 for (int i = 0; i < files.length; i++) { 87 File file = files[i];
|
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/ |
H A D | AddLibraryCommand.java | 78 File[] files = null; field in class:AddLibraryCommand 115 for (File libraryFile : files) {
|
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
H A D | ClassPathBuilder.java | 80 * Adds all the files in the given directory that match the given filter. 83 File[] files = dir.listFiles(filter); 84 if(files!=null) 85 addAll(files); 89 public ClassPathBuilder addAll(File... files) { argument 90 for (File f : files)
|
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/ |
H A D | SyncRequest.java | 49 * Request message to synchronize files. 51 @XmlRootElement(name = "synchronize-files") 54 files = new ArrayList<ModTime>(); 70 * The list of files the client has. 73 public List<ModTime> files; field in class:SyncRequest
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/glassfish/ |
H A D | GFLauncherUtils.java | 218 public static String fileListToPathString(List<File> files) { argument 222 for (File f : files) {
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/zip/ |
H A D | ZipWriter.java | 42 * ZipFile -- A utility class for exploding jar files that contain EJB(s). Used *only* in this package by the EJBImporter class 88 * Exclude any files that are under these directories. 273 private void createItemList(String[] files) throws ZipFileException argument 277 if(files == null) 280 files = lister.getFiles(); 283 if(files.length <= 0) 284 throw new ZipFileException("No files to add!"); 286 items = new ZipItem[files.length]; 288 for(int i = 0; i < files.length; i++) 290 File f = new File(dirName + files[ [all...] |
H A D | ZipFile.java | 42 * ZipFile -- A utility class for exploding archive (zip) files. 108 /** Explodes files as usual, and then explodes every jar file found. All 109 * explosions are copied relative the same root directory.<p>It does a case-sensitive check for files that end with ".jar" 121 files = new ArrayList<String>(); 156 if(fullpath.delete()) { // wipe-out pre-existing files 178 files.add(filename); 196 return files; 246 return files; 268 // traverse list of files 451 private ArrayList<String>files field in class:ZipFile [all...] |
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/ |
H A D | CMPDeployerImpl.java | 297 * Compile .java files. 300 * @param files actual source files 301 * @param destDir destination directory for .class files 305 private void compileClasses(DeploymentContext ctx, List<File> files, argument 308 if (files.isEmpty() ) { 330 for(File file : files) { 342 // Using Java 6 compiler API to compile the generated .java files 348 Iterable compilationUnits = manager.getJavaFileObjectsFromFiles(files); 357 _logger.fine("JAVA compile time (" + files [all...] |
/glassfish-3.1.2/common/scattered-archive-api/src/main/java/org/glassfish/embeddable/archive/ |
H A D | Assembler.java | 183 // Add all the classpath files to the RAR files. 279 private List<String> getFileNames(List<File> files) { argument 281 for (File f : files) {
|
/glassfish-3.1.2/common/common-util/src/test/java/org/glassfish/admin/payload/ |
H A D | PayloadImplTest.java | 187 * original files are still there. Specificaly, original file Y should still 189 * now exist in the original directory but not other replacement files. 378 final FileInfo[] files) throws IOException { 382 for (FileInfo replFile : files) { 377 createAndPopulateDir(final String subdirLevel1Path, final String subdirLevel2Path, final FileInfo[] files) argument
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/ |
H A D | ApplicationArchivist.java | 75 * This class is responsible for handling application archive files 134 // any files already written to the output should never be rewritten 152 // so I don't put it in the list of files to be skipped and it will 322 File[] files = getEligibleEntries(new File(appRoot), directory); 323 for (File subModule : files) { 478 Vector<File> files = new Vector<File>(); 479 getListOfFiles(appRoot, files, 481 return (File[]) files.toArray(new File[files.size()]); 485 File directory, Vector<File> files, FilenameFilte 484 getListOfFiles( File directory, Vector<File> files, FilenameFilter filter) argument [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/ |
H A D | HostConfig.java | 152 * Should we deploy XML Context config files? 158 * Should we unpack WAR files when auto-deploying applications in the 165 * Last modified dates of the web.xml files of the contexts, keyed by 172 * Last modified dates of the Context xml files of the contexts, keyed by 179 * Last modified dates of the source WAR files, keyed by WAR name. 449 * Deploy applications for any directories or WAR files that are found 466 String files[] = appBase.list(); 467 deployWARs(appBase, files); 468 deployDirectories(appBase, files); 476 protected void deployDescriptors(File configBase, String[] files) { argument 535 deployWARs(File appBase, String[] files) argument 698 deployDirectories(File appBase, String[] files) argument [all...] |
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | ServerSynchronizer.java | 72 * the client, it fills the payload with the files the client needs. 74 * The list of files in the config directory to synchronize is in 75 * META-INF/config-files in this module, or in config/config-files 111 * by adding the needed files to the payload. 151 * Synchronize files in the config directory. 153 * about any of the other files. 160 for (ModTime mt : sr.files) { 172 "thus no files will be synchronized"); 176 // get the set of all the config files w 251 getRealmFileNames(Server server, Set<String> files) argument [all...] |
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ |
H A D | LocalInstanceCommand.java | 365 File[] files = whackee.listFiles(); 367 if (files == null || files.length <= 0) { 369 if (files != null) 392 sb.append(", files in parent:"); 393 files = parent.listFiles(); 394 for (File f : files) 405 files = parent.listFiles(); 407 if (noInstancesRemain(files)) { 419 private boolean noInstancesRemain(File[] files) { argument [all...] |
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/ |
H A D | JDOCodeGenerator.java | 104 * other dependent files. 126 private ArrayList<File> files = new ArrayList<File>(); field in class:JDOCodeGenerator 149 /** String representing the signatures of generic code-gen files */ 396 files.addAll(newfiles); 399 files.addAll(newfiles); 490 return files; 554 // Add the code generation signature of the input files 588 * Returns the signatures (file length) of the input files for the codegen. 691 // before writing *.sql files to this location.
|
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/codegen/ |
H A D | JaxRpcRICodegen.java | 108 // list of generated files 109 ArrayList<String> files = new ArrayList<String>(); field in class:JaxRpcRICodegen 266 jaxrpc(args, delegate, serviceRef, files); 288 for (int i = 0; i < files.size(); i ++) { 290 File file = new File(files.get(i)); 324 //wsImport(webService, files); 326 jaxrpcWebService(webService, files); 337 return files.iterator(); 662 // can do is prepend the ext dir jar files to the classpath. 734 ArrayList<String> files) 733 jaxrpc(String[] args, WsCompile wsCompile, Descriptor desc, ArrayList<String> files) argument 776 jaxrpcWebService(WebService webService, ArrayList<String> files) argument [all...] |
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deploy/shared/ |
H A D | FileArchive.java | 68 * those files more recent than the creation of the archive itself are visible to 71 * The main motivation is to hide unwanted "left-over" files 75 * Historically such left-over files arise after GlassFish expands an archive 84 * remain in the expansion directory. Such left-over files, if not filtered out, 86 * creation date we can filter out such old, left-over files. 118 * tracks stale files in the archive and filters the archive's contents to 488 * "left-over" files from a previous deployment, for example. This method 489 * causes the FileArchive implementation to hide any files that 563 private void getListOfFiles(File directory, List<String> files, List embeddedArchives) { argument 564 getListOfFiles(directory, files, embeddedArchive 576 getListOfFiles(File directory, List<String> files, List embeddedArchives, final Logger logger) argument [all...] |
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/io/ |
H A D | FileUtils.java | 71 * an array with files in it 77 File[] files = f.listFiles(); 79 if(files != null) 80 return files; 91 File[] files = f.listFiles(ff); 93 if(files != null) 94 return files; 105 File[] files = f.listFiles(fnf); 107 if(files != null) 108 return files; 648 formatFileCollection(Collection<File> files) argument [all...] |
/glassfish-3.1.2/web/war-util/src/main/java/org/glassfish/web/loader/ |
H A D | WebappClassLoader.java | 241 protected File[] files = new File[0]; field in class:WebappClassLoader 256 * The path which will be monitored for added Jar files. 658 File[] result2 = new File[files.length + 1]; 659 for (i = 0; i < files.length; i++) { 660 result2[i] = files[i]; 662 result2[files.length] = file; 663 files = result2; 805 // Additional non-JAR files are allowed 1086 result.addElement(getURI(new File(files[i], name))); 1107 * except that the resources from the local files ar [all...] |