Searched refs:dirs (Results 1 - 21 of 21) sorted by relevance

/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/services/
H A DServiceFactory.java47 public static final Service getService(ServerDirs dirs, AppserverServiceType type) { argument
50 return new LinuxService(dirs, type);
53 //return new UbuntuService(dirs, type);
55 return new LinuxService(dirs, type);
57 return new SMFService(dirs, type);
59 return new WindowsService(dirs, type);
61 return new LinuxService(dirs, type);
H A DNonSMFServiceAdapter.java70 NonSMFServiceAdapter(ServerDirs dirs, AppserverServiceType type) { argument
71 super(dirs, type);
H A DLinuxService.java71 LinuxService(ServerDirs dirs, AppserverServiceType type) { argument
72 super(dirs, type);
183 // on SuSE the rc?.d dirs are in /init.d/
184 // On RH, OEL they are linked dirs to the real dirs under /etc/rc.d/
185 // On Ubuntu they are real dirs in /etc
244 // let's use the REAL dirs just to be safe...
347 private void createLinks(String[] cmds, String linkname, List<File> dirs) { argument
348 for (File dir : dirs) {
H A DWindowsService.java62 WindowsService(ServerDirs dirs, AppserverServiceType type) { argument
63 super(dirs, type);
H A DSMFService.java103 SMFService(ServerDirs dirs, AppserverServiceType type) { argument
104 super(dirs, type);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/io/
H A DInstanceDirs.java76 dirs = new ServerDirs(theInstanceDir);
78 if (dirs.getServerGrandParentDir() == null) {
79 throw new IOException(ServerDirs.strings.get("InstanceDirs.noGrandParent", dirs.getServerDir()));
97 dirs = null;
109 dirs = null;
121 dirs = null;
127 dirs = new ServerDirs(instanceDir);
140 // ERROR: No node dirs
165 // ERROR: No instance dirs
223 dirs
252 private final ServerDirs dirs; field in class:InstanceDirs
[all...]
H A DDomainDirs.java94 dirs = new ServerDirs(domainDir);
104 dirs = new ServerDirs(domainDir);
114 dirs = sd;
119 return dirs.toString();
123 return dirs.getServerName();
127 return dirs.getServerDir();
131 return dirs.getServerParentDir();
135 return dirs;
140 return dirs.isValid();
193 private final ServerDirs dirs; field in class:DomainDirs
[all...]
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/
H A DDeleteServiceCommand.java91 private ServerDirs dirs; field in class:DeleteServiceCommand
109 dirs = selector.dirs();
125 final Service service = ServiceFactory.getService(dirs, getType());
158 serviceName = dirs.getServerDir().getName();
H A DCreateServiceCommand.java98 private ServerDirs dirs; field in class:CreateServiceCommand
120 dirs = selector.dirs();
137 final Service service = ServiceFactory.getService(dirs, getType());
160 new File(dirs.getServerDir(), "PlatformServices.log"));
185 serviceName = dirs.getServerDir().getName();
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/zip/
H A DZipWriter.java91 * 2 dirs you would send in a String array with "x2" and "x3"
92 * @param dirs an array of top-level directory names
95 public void excludeDirs(String[] dirs) { argument
97 for(int i = 0; i < dirs.length; i++) {
98 if(!dirs[i].endsWith("/"))
99 dirs[i] += "/";
108 for(int j = 0; j < dirs.length; j++) {
109 if(items[i].name.startsWith(dirs[j]))
/glassfish-3.1.2/admin/backup/src/main/java/com/sun/enterprise/backup/
H A DListManager.java206 File[] dirs;
219 dirs = getBackupDirectory(request).listFiles(new DirectoryFilter());
222 for(int i = 0; dirs != null && i < dirs.length; i++) {
223 files = dirs[i].listFiles(new ZipFilenameFilter());
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DSecureAdminClientManager.java278 final ServerDirs dirs = selector.dirs();
279 if (dirs == null) {
283 final File domainXMLFile = dirs.getDomainXml();
H A DServerDirsSelector.java101 public ServerDirs dirs() { method in class:ServerDirsSelector
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/provider/
H A DPolicyParser.java105 private static final String EXTDIRS_PROPERTY = "java.ext.dirs";
587 // expand the system property "java.ext.dirs",
599 "expanded java.ext.dirs path:\n\t\t" +
662 String[] dirs = null;
668 dirs = new String[count];
671 dirs[i] = sun.net.www.ParseUtil.encodePath
674 if (!dirs[i].startsWith("/")) {
675 dirs[i] = "/" + dirs[i];
679 (dirs[
[all...]
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/loader/util/
H A DASClassLoaderUtil.java242 * i. all the valid directories from the given directory (dirs) array
248 * @param dirs array of directory path names
252 * @return an array of urls that contains all the valid dirs,
257 public static URL[] getURLs(File[] dirs, File[] jarDirs, argument
259 return convertURLListToArray(getURLsAsList(dirs, jarDirs, ignoreZip));
265 * i. all the valid directories from the given directory (dirs) array
271 * @param dirs array of directory path names
275 * @return an array of urls that contains all the valid dirs,
280 public static List<URL> getURLsAsList(File[] dirs, File[] jarDirs, argument
285 if (dirs !
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/io/
H A DDeploymentDescriptorFile.java131 DOLUtils.getDefaultLogger().log(Level.WARNING, "modify your java command line to include the -Djava.endorsed.dirs option");
403 File dirs = new File(dir.replace('/', File.separatorChar));
404 if (!dirs.exists()) {
405 dirs.mkdirs();
407 File out = new File(dirs, fileName);
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DLocalInstanceCommand.java353 ServerDirs dirs = getServerDirs();
354 File whackee = dirs.getServerDir();
355 File parent = dirs.getServerParentDir();
356 File grandParent = dirs.getServerGrandParentDir();
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/
H A DExtensionFileManager.java75 * directories specified by java.ext.dirs.
88 private static final String EXT_DIRS_PROPERTY_NAME = "java.ext.dirs";
95 *extension jar directories. (any directory listed in java.ext.dirs)
99 /** Records directories specified in java.ext.dirs */
158 * @param dirs the directories in which to search for extension jar files
162 private Map<ExtensionKey, Extension> buildExtensionFileEntries(Vector<File> dirs) throws IOException { argument
171 for (int i = 0; i < dirs.size(); i++) {
172 addExtJarsFromDirectory(result, i, dirs.get(i));
207 * @param extDirectoryNumber the ordinal number of the directory in java.ext.dirs being scanned
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DRepositoryManager.java499 String[] dirs = new String[0];
506 dirs = f.list(new FilenameFilter() {
518 if (dirs == null) {
519 dirs = new String[0];
524 return dirs;
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/
H A DMappingGenerator.java424 String dirs = cmpMappingFile.substring(
426 File fileDirs = new File(dirs);
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deploy/shared/
H A DFileArchive.java328 logger.log(DEBUG_LEVEL, "FileArchive.createSubArchive created dirs for {0}",
664 String dirs = name.substring(0, name.lastIndexOf(File.separatorChar));
665 (new File(archive, dirs)).mkdirs();

Completed in 237 milliseconds