/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/services/ |
H A D | ServiceFactory.java | 47 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 D | NonSMFServiceAdapter.java | 70 NonSMFServiceAdapter(ServerDirs dirs, AppserverServiceType type) { argument 71 super(dirs, type);
|
H A D | LinuxService.java | 71 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 D | WindowsService.java | 62 WindowsService(ServerDirs dirs, AppserverServiceType type) { argument 63 super(dirs, type);
|
H A D | SMFService.java | 103 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 D | InstanceDirs.java | 76 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 D | DomainDirs.java | 94 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 D | DeleteServiceCommand.java | 91 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 D | CreateServiceCommand.java | 98 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 D | ZipWriter.java | 91 * 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 D | ListManager.java | 206 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 D | SecureAdminClientManager.java | 278 final ServerDirs dirs = selector.dirs(); 279 if (dirs == null) { 283 final File domainXMLFile = dirs.getDomainXml();
|
H A D | ServerDirsSelector.java | 101 public ServerDirs dirs() { method in class:ServerDirsSelector
|
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/provider/ |
H A D | PolicyParser.java | 105 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 D | ASClassLoaderUtil.java | 242 * 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 D | DeploymentDescriptorFile.java | 131 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 D | LocalInstanceCommand.java | 353 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 D | ExtensionFileManager.java | 75 * 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 D | RepositoryManager.java | 499 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 D | MappingGenerator.java | 424 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 D | FileArchive.java | 328 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();
|