Searched refs:root (Results 1 - 25 of 76) sorted by relevance

1234

/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DProxyTest.java265 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 DFileLister.java58 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 DServerEnvironmentImpl.java88 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 DEmbeddedSetDefaultWebXmlTest.java69 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 DEmbeddedSetDocRootTest.java70 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 DEmbeddedAddContextTest.java68 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 DEmbeddedAddListenerDefaultVSTest.java70 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 DEmbeddedAddServletAndFilterByClassNameTest.java73 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 DEmbeddedAddServletAndFilterByClassTest.java74 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 DEmbeddedAddServletDefaultVSTest.java70 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 DEmbeddedClassLoaderTest.java63 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 DEmbeddedRedeployTest.java68 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 DEmbeddedSetConfigurationTest.java70 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 DEmbeddedSetSecurityTest.java70 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 DEmbeddedWebTest.java70 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 DEmbeddedAddHttpsListenerTest.java71 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 DEmbeddedAddServletTest.java70 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 DEmbeddedCreateServletAndFilterTest.java74 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 DEmbeddedRemoveContextTest.java68 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 DEmbeddedVirtualServerHostNameTest.java87 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 DWLWebBundleRuntimeNode.java173 // 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 DWLServletDescriptorNode.java83 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 DWLApplicationRuntimeNode.java184 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 DWebAllTest.java71 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 DDeleteDomainCommand.java128 File root = getDomainsDir();
129 File domdir = new File(root, getDomainName());
130 File tmpdir = File.createTempFile("del-", "", root);

Completed in 55 milliseconds

1234