/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/ |
H A D | ProxyTest.java | 265 final DomainRoot root = (DomainRoot) getDomainRoot(); 267 assert (root.getJ2EEDomain() == root.getJ2EEDomain()); 268 assert (root.getDomainConfig() == root.getDomainConfig()); 269 assert (root.getQueryMgr() == root.getQueryMgr()); 270 assert (root.getBulkAccess() == root.getBulkAccess()); 271 assert (root [all...] |
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/io/ |
H A D | FileLister.java | 58 FileLister(File root) argument 60 mainRoot = root; 93 public void getFilesInternal(File root) argument 95 File[] files = root.listFiles(); 108 fileList.add(root);
|
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/server/ |
H A D | ServerEnvironmentImpl.java | 88 private /*almost final*/ File root; field in class:ServerEnvironmentImpl 105 public ServerEnvironmentImpl(File root) { argument 107 // root is for example "new File(".") 108 this.root = root.getAbsoluteFile(); 129 if(this.root==null) { 132 root = new File(envVar); 141 root = new File(instanceRoot); 147 * The following chunk of code sets things like hostname to be a file under instance root 155 asenv.getProps().put(SystemPropertyConstants.INSTANCE_ROOT_PROPERTY, root [all...] |
/glassfish-3.1.2/tests/embedded/web/web-api/src/test/java/org/glassfish/tests/embedded/web/ |
H A D | EmbeddedSetDefaultWebXmlTest.java | 69 static File root; field in class:EmbeddedSetDefaultWebXmlTest 81 root = new File(System.getProperty("buildDir")); 82 File defaultWebXml = new File(root+"/org/glassfish/tests/webapi/my-default-web.xml"); 85 config.setDocRootDir(root); 87 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 94 Context context = embedded.createContext(root);
|
H A D | EmbeddedSetDocRootTest.java | 70 static File root; field in class:EmbeddedSetDocRootTest 83 root = new File(System.getProperty("buildDir")); 84 config.setDocRootDir(root); 86 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 93 embedded.createVirtualServer("test-server", root); 98 Context context = (Context) embedded.createContext(root, contextRoot, null);
|
H A D | EmbeddedAddContextTest.java | 68 static File root; field in class:EmbeddedAddContextTest 80 root = new File(System.getProperty("buildDir")); 81 config.setDocRootDir(root); 84 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 91 Context context = embedded.createContext(root);
|
H A D | EmbeddedAddListenerDefaultVSTest.java | 70 static File root; field in class:EmbeddedAddListenerDefaultVSTest 84 root = new File(System.getProperty("buildDir")); 85 config.setDocRootDir(root); 87 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 96 Context context = (Context) embedded.createContext(root);
|
H A D | EmbeddedAddServletAndFilterByClassNameTest.java | 73 static File root; field in class:EmbeddedAddServletAndFilterByClassNameTest 87 root = new File(System.getProperty("buildDir")); 88 config.setDocRootDir(root); 90 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 99 Context context = (Context) embedded.createContext(root);
|
H A D | EmbeddedAddServletAndFilterByClassTest.java | 74 static File root; field in class:EmbeddedAddServletAndFilterByClassTest 88 root = new File(System.getProperty("buildDir")); 89 config.setDocRootDir(root); 91 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 100 Context context = (Context) embedded.createContext(root);
|
H A D | EmbeddedAddServletDefaultVSTest.java | 70 static File root; field in class:EmbeddedAddServletDefaultVSTest 84 root = new File(System.getProperty("buildDir")); 85 config.setDocRootDir(root); 87 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 96 Context context = (Context) embedded.createContext(root);
|
H A D | EmbeddedClassLoaderTest.java | 63 static File root; field in class:EmbeddedClassLoaderTest 70 root = new File("target/classes"); 75 root = new File("target/classes"); 76 config.setDocRootDir(root); 79 System.out.println("Added Web with base directory "+root.getAbsolutePath());
|
H A D | EmbeddedRedeployTest.java | 68 static File root; field in class:EmbeddedRedeployTest 80 root = new File("target/classes"); 81 config.setDocRootDir(root); 84 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 91 Context context = embedded.createContext(root);
|
H A D | EmbeddedSetConfigurationTest.java | 70 static File root; field in class:EmbeddedSetConfigurationTest 83 root = new File(System.getProperty("buildDir")); 84 config.setDocRootDir(root); 87 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 93 Context context = embedded.createContext(root);
|
H A D | EmbeddedSetSecurityTest.java | 70 static File root; field in class:EmbeddedSetSecurityTest 82 root = new File(System.getProperty("buildDir")); 83 //root = new File("/tests/security"); 84 config.setDocRootDir(root); 87 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 96 Context context = embedded.createContext(root);
|
H A D | EmbeddedWebTest.java | 70 static File root; field in class:EmbeddedWebTest 81 root = new File(System.getProperty("buildDir")); 90 config.setDocRootDir(root); 91 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 94 File defaultWebXml = new File(root+"/org/glassfish/tests/webapi/my-default-web.xml"); 112 embedded.createVirtualServer(virtualServerId, root, webListeners); 128 Context context = (Context) embedded.createContext(root);
|
H A D | EmbeddedAddHttpsListenerTest.java | 71 static File root; field in class:EmbeddedAddHttpsListenerTest 83 root = new File("target/classes"); 84 config.setDocRootDir(root); 87 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 101 String keyStorePath = root.getAbsolutePath() + keystore; 102 String trustStorePath = root.getAbsolutePath() + "/cacerts.jks";
|
H A D | EmbeddedAddServletTest.java | 70 static File root; field in class:EmbeddedAddServletTest 84 root = new File(System.getProperty("buildDir")); 85 config.setDocRootDir(root); 87 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 101 embedded.createVirtualServer(vsname, root, webListeners); 112 Context context = (Context) embedded.createContext(root);
|
H A D | EmbeddedCreateServletAndFilterTest.java | 74 static File root; field in class:EmbeddedCreateServletAndFilterTest 88 root = new File(System.getProperty("buildDir")); 89 config.setDocRootDir(root); 91 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 100 Context context = (Context) embedded.createContext(root);
|
H A D | EmbeddedRemoveContextTest.java | 68 static File root; field in class:EmbeddedRemoveContextTest 80 root = new File(System.getProperty("buildDir")); 81 config.setDocRootDir(root); 84 System.out.println("Added Web with base directory "+root.getAbsolutePath()); 91 Context context = embedded.createContext(root);
|
H A D | EmbeddedVirtualServerHostNameTest.java | 87 File root = new File(System.getProperty("buildDir")); 88 VirtualServer virtualServer = embedded.createVirtualServer(virtualServerId, root); 98 Context context = (Context) embedded.createContext(root);
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/web/ |
H A D | WLWebBundleRuntimeNode.java | 173 // only set the context root for standalone war; 174 // for embedded war, the context root will be set 264 Element root = appendChildNS(parent, getXMLRootTag().getQName(), 274 sran.writeDescriptor(root, RuntimeTagNames.WL_SECURITY_ROLE_ASSIGNMENT, wlRoleAssignments[i]); 283 node.writeDescriptor(root, RuntimeTagNames.RESOURCE_DESCRIPTION, resRef); 292 node.writeDescriptor(root, RuntimeTagNames.RESOURCE_ENV_DESCRIPTION, resourceEnvRef); 301 node.writeDescriptor(root, RuntimeTagNames.EJB_REF, ejbRef); 307 sessionDescriptorNode.writeDescriptor(root, bundleDescriptor); 311 jspDescriptorNode.writeDescriptor(root, bundleDescriptor); 315 containerDescriptorNode.writeDescriptor(root, bundleDescripto [all...] |
H A D | WLServletDescriptorNode.java | 83 public Node writeDescriptor(Element root, WebComponentDescriptor descriptor) { argument 85 Node servletNode = appendChild(root, RuntimeTagNames.SERVLET_DESCRIPTOR);
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/application/ |
H A D | WLApplicationRuntimeNode.java | 184 Element root = appendChildNS(parent, getXMLRootTag().getQName(), 193 initParamNode.writeDescriptor(root, 202 moduleNode.writeDescriptor(root, RuntimeTagNames.MODULE, md); 208 sran.writeDescriptor(root, RuntimeTagNames.WL_SECURITY_ROLE_ASSIGNMENT, wlRoleAssignments.get(i)); 210 return root;
|
/glassfish-3.1.2/tests/embedded/web/web-all/src/test/java/org/glassfish/tests/weball/ |
H A D | WebAllTest.java | 71 File root = new File(p).getParentFile(); 72 root =new File(root, "glassfish"); 74 new File(root, "docroot").mkdirs(); 76 EmbeddedFileSystem fs = fsBuilder.instanceRoot(root).build();
|
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/ |
H A D | DeleteDomainCommand.java | 128 File root = getDomainsDir(); 129 File domdir = new File(root, getDomainName()); 130 File tmpdir = File.createTempFile("del-", "", root);
|