Searched defs:dirs (Results 1 - 13 of 13) 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/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/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DServerDirsSelector.java101 public ServerDirs dirs() { method in class:ServerDirsSelector
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/io/
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...]
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...]
/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/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/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

Completed in 25 milliseconds