Searched defs:directory (Results 1 - 25 of 27) sorted by relevance

12

/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/
H A DModuleExploder.java128 public static void explodeModule(Archive source, File directory, boolean preserveManifest) argument
135 target.create(directory.toURI());
137 explodeJar(new File(source.getURI()), directory);
140 explodedManifest = new File(directory, java.util.jar.JarFile.MANIFEST_NAME);
143 preservedManifestFromArchive = new File(directory, PRESERVED_MANIFEST_NAME);
163 // resolveDependencies(new File(directory, fileName));
171 File f = new File(directory, fileName);
173 ZipFile zip = new ZipFile(f, directory);
H A DDeploymentUtils.java120 * Computes the checksum of the URIs of files contained in a directory.
122 * @param directory the directory for which to compute a checksum
123 * @return checksum calculated from URIs of files in the directory
125 public static long checksum(final File directory) { argument
126 if ( ! directory.isDirectory()) {
129 "The directory deployment path {0} is not a directory or is inaccessible",
130 directory.getAbsolutePath());
134 scanDirectory(directory
189 scanDirectory(final URI anchorDirURI, final File directory, final List<URI> uris) argument
[all...]
/glassfish-3.1.2/tests/logmonitor/
H A DFilter.java58 File directory,
64 // Get files / directories in the directory
65 File[] entries = directory.listFiles();
71 // file / directory, add it to the list
72 if (filter == null || filter.accept(directory, entry.getName())) {
76 // If the file is a directory and the recurse flag
77 // is set, recurse into the directory
57 listFiles( File directory, FilenameFilter filter, boolean recurse) argument
/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/impl/
H A DDirectoryScanner.java59 * Implementation of the Scanner interface for a directory
65 File directory; field in class:DirectoryScanner
69 public void process(File directory, Object bundleDesc, ClassLoader classLoader) argument
71 AnnotationUtils.getLogger().finer("dir is " + directory);
73 this.directory = directory;
75 init(directory);
78 private void init(File directory) throws java.io.IOException { argument
79 init(directory, directory);
83 init(File top, File directory) argument
[all...]
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DRejar.java71 for (File directory : modules.listFiles(new FileFilter() {
76 processDirectory(jos, directory, names, metadata);
94 protected void processDirectory(JarOutputStream jos, File directory, Set<String> names, Map<String, ByteArrayOutputStream> metadata ) throws IOException { argument
96 for (File module : directory.listFiles(new FileFilter() {
H A DUtil.java98 static long getLastModified(File directory, long current) { argument
100 for (File file : directory.listFiles()) {
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DDeferredFileOutputStream.java118 * The directory to use for temporary files.
120 private File directory; field in class:DeferredFileOutputStream
155 * @param directory Temporary file directory.
159 public DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) argument
167 this.directory = directory;
199 outputFile = File.createTempFile(prefix, suffix, directory);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/logger/
H A DFileLogger.java74 * named {prefix}.{date}.{suffix} in a configured directory, with an
96 * The directory in which log files are created.
98 private String directory = "logs"; field in class:FileLogger
149 * Return the directory in which we create log files.
153 return (directory);
159 * Set the directory in which we create log files.
161 * @param directory The new log file directory
163 public void setDirectory(String directory) { argument
165 String oldDirectory = this.directory;
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/session/
H A DFileStore.java75 * a file per saved Session in a configured directory. Sessions that are
98 * The pathname of the directory in which Sessions are stored.
100 * resolved against the temporary work directory for this application.
102 private String directory = "."; field in class:FileStore
106 * A File representing the directory in which Sessions are stored.
136 * Return the directory path for this Store.
140 return (directory);
146 * Set the directory path for this Store.
148 * @param path The new directory path
152 String oldDirectory = this.directory;
432 private File directory() { method in class:FileStore
[all...]
/glassfish-3.1.2/common/scattered-archive-api/src/main/java/org/glassfish/embeddable/archive/
H A DAssembler.java272 private List<String> getFileNames(File directory) { argument
273 if (directory != null && directory.exists() && directory.isDirectory()) {
274 return getFileNames(Arrays.asList(directory.listFiles()));
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deployment/deploy/shared/
H A DMemoryMappedArchive.java164 private Vector<String> entries(boolean directory) { argument
171 if (ze.isDirectory()==directory) {
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/impl/
H A DModuleScanner.java220 * This will include all class in directory to be scanned.
221 * param directory
223 protected void addScanDirectory(File directory) throws IOException { argument
224 scannedURI.add(directory.toURI());
226 classParser.parse(directory, null);
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DLogControl.java119 /**Initialises the log in the given directory.
145 // Store the log directory name for use by subsequent log functions.
149 // If this is a cold start, then remove all files in the log directory
237 File logDir = directory(logName,directoryPath);
745 /**Determines whether the given named log exists in the given directory.
748 * @param logDirectory The log directory.
802 /**Clears out all log files from the given directory.
816 File directory = new File(logDir);
817 String[] allFiles = directory.list();
825 final File logFileDir = new File(directory,allFile
925 final static File directory( String logId, String logDir ) { method in class:LogControl
[all...]
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/util/
H A DClassPath.java154 * Remove any class path elements which match directory
156 public boolean remove(File directory) { argument
161 if (cpe.matches(directory)) {
176 * Append a directory to the classpath.
178 public void append(File directory) { argument
179 append(ClassPathElement.create(directory.getPath()));
H A DClassPathElement.java81 * Check to see if this ClassPathElement is a directory matching
82 * the directory passed in.
84 abstract boolean matches(File directory); argument
142 * which is believe to be a directory.
147 private File directory; field in class:DirectoryClassPathElement
169 return new DirectoryClassPackageEnumerator(directory, packageName);
173 String dir = FilePath.canonicalize(directory);
182 directory = dirSpec;
193 if (exists && directory.isDirectory()) {
194 StringBuffer newPath = new StringBuffer(directory
254 matches(File directory) argument
301 DirectoryClassPackageEnumerator(File directory, String packageName) argument
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DScatteredArchive.java77 * directory (topDir).
84 * @param topDir top level directory
107 * @param resources the resources directory
156 * Adds a directory to the classes classpath. Will be used to retrieve requested .class
159 * @param location must be a directory location
164 throw new IllegalArgumentException("location is not a directory");
253 * @return The resources directory
360 private void getListOfFiles(File directory, String prefix, List<String> list) { argument
361 if (!directory.isDirectory())
363 for (File f : directory
[all...]
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/
H A DAutoDeployService.java132 String directory = activeDasConfig.getAutodeployDir();
137 directory,
181 String directory) {
185 ", directory=" + directory);
323 logger.fine("[AutoDeploy] Reconfig - directory changed from " +
178 logConfig(String title, boolean isEnabled, int pollingIntervalInSeconds, String directory) argument
H A DAutoDeployer.java67 * calling setTarget(). The specific directory scanner can be set using
79 private File directory = null; field in class:AutoDeployer
120 * @param directoryPath directory to be scanned for changes
142 * @param directoryPath the directory to scan
213 * Sets the directory to be scanned by the autodeployer.
214 * @param directoryPath the directory path to scan
219 this.directory = new File(directoryPath);
243 * @return true if the directory and all intervening ones were created; false otherwise
286 "invalid source directory {0}",
294 "directory {
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/
H A DApplicationArchivist.java286 * @param directory whether the application is packaged as a directory
289 boolean directory) throws IOException, SAXParseException {
293 return getApplicationFromIntrospection(archive, directory);
303 * @param directory whether this is a directory deployment
306 ReadableArchive archive, boolean directory) {
307 String appRoot = archive.getURI().getSchemeSpecificPart(); //archive is a directory
322 File[] files = getEligibleEntries(new File(appRoot), directory);
333 //file extension; for directory deploymen
288 createApplication(ReadableArchive archive, boolean directory) argument
305 getApplicationFromIntrospection( ReadableArchive archive, boolean directory) argument
484 getListOfFiles( File directory, Vector<File> files, FilenameFilter filter) argument
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DBasePersistenceStrategyBuilder.java68 protected String directory = null; field in class:BasePersistenceStrategyBuilder
140 directory = ((StandardContext) ctx).getWorkDir();
248 directory = directoryString;
250 _logger.finest("directory set = " + directoryString);
333 } else if (name.equalsIgnoreCase("directory")) {
334 directory = value;
H A DPEAccessLogValve.java121 * The directory in which log files are created.
123 private String directory = "logs"; field in class:PEAccessLogValve
367 * Return the directory in which we create log files.
371 return directory;
377 * Set the directory in which we create log files.
379 * @param directory The new log file directory
381 public void setDirectory(String directory) { argument
382 this.directory = directory;
[all...]
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/
H A DClientJarMakerUtils.java236 // Process any JARs in the <library-directory>.
245 // archive, unless that is also the <library-directory> which we don't
269 * the specified directory. The entries are paths relative to the archive
271 *@param directory the directory to search for JARs
272 *@param archiveRoot the root directory of the archive in which the directory resides
276 private static void addJARClassPathElementsFromDirectory(File directory, File archiveRoot, Collection<String> classPathEntries) { argument
277 // Make sure the directory exists and is a directory
[all...]
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deploy/shared/
H A DFileArchive.java63 * This implementation of the Archive interface maps to a directory/file
66 * If the directory underlying the FileArchive is created by GlassFish
74 * to extract the user's JAR-based archive into the applications directory.)
77 * code opens but does not close a file in that exploded directory tree.
84 * remain in the expansion directory. Such left-over files, if not filtered out,
88 * To support this feature, when FileArchive creates a directory it stores a
91 * directory. Users might legitimately use "touch .reload" in the applications/appName
92 * directory to trigger a dynamic reload of the app. If .reload does not already
94 * directory file.
108 // the archive abstraction directory
533 deleteDir(File directory) argument
563 getListOfFiles(File directory, List<String> files, List embeddedArchives) argument
576 getListOfFiles(File directory, List<String> files, List embeddedArchives, final Logger logger) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/valves/
H A DAccessLogValve.java183 * The directory in which log files are created.
185 private String directory = "logs"; field in class:AccessLogValve
400 * Return the directory in which we create log files.
404 return (directory);
410 * Set the directory in which we create log files.
412 * @param directory The new log file directory
414 public void setDirectory(String directory) { argument
416 this.directory = directory;
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/servlets/
H A DDefaultServlet.java79 import javax.naming.directory.DirContext;
159 * Should we generate directory listings?
165 * The sorting mechanism for directory listings
189 * Allow customized directory listing per directory.
195 * Allow customized directory listing per instance.
207 * Proxy directory context.
392 * Return if directory listings are enabled
400 * Enables or disables directory listings for this DefaultServlet.
402 * @param listings true if directory listing
1702 getReadme(DirContext directory) argument
1733 findXsltInputStream(DirContext directory) argument
[all...]

Completed in 276 milliseconds

12