Searched defs:contextRoot (Results 1 - 25 of 60) sorted by relevance

123

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/container/
H A DRequestDispatcher.java62 * @param contextRoot for the proxy
65 public void registerEndpoint(String contextRoot, Adapter endpointAdapter, argument
73 * @param contextRoot for the proxy
78 public void registerEndpoint(String contextRoot, Adapter endpointAdapter, argument
86 * @param contextRoot for the proxy
89 public void registerEndpoint(String contextRoot, argument
99 public void registerEndpoint(String contextRoot, argument
110 public void unregisterEndpoint(String contextRoot) throws EndpointRegistrationException; argument
115 public void unregisterEndpoint(String contextRoot, argument
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DEndpointMapper.java59 * @param contextRoot for the proxy
62 public void registerEndpoint(String contextRoot, Collection<String> vsServers, E adapter, argument
69 public void unregisterEndpoint(String contextRoot, ApplicationContainer app) throws EndpointRegistrationException; argument
/glassfish-3.1.2/tests/embedded/web/web-api/src/test/java/org/glassfish/tests/embedded/web/
H A DEmbeddedAddContextTest.java69 static String contextRoot = "test"; field in class:EmbeddedAddContextTest
92 embedded.addContext(context, contextRoot);
96 Assert.assertEquals("/"+contextRoot, vs.getContext(contextRoot).getPath());
100 if (ctx.getPath().endsWith(contextRoot)) {
106 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
H A DEmbeddedAddListenerDefaultVSTest.java72 static String contextRoot = "test"; field in class:EmbeddedAddListenerDefaultVSTest
100 vs.addContext(context, contextRoot);
102 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/myservlet");
H A DEmbeddedAddServletAndFilterByClassNameTest.java75 static String contextRoot = "test"; field in class:EmbeddedAddServletAndFilterByClassNameTest
110 vs.addContext(context, contextRoot);
112 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/newFilterServlet");
H A DEmbeddedAddServletAndFilterByClassTest.java76 static String contextRoot = "test"; field in class:EmbeddedAddServletAndFilterByClassTest
115 vs.addContext(context, contextRoot);
117 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/newFilterServlet");
H A DEmbeddedAddServletDefaultVSTest.java72 static String contextRoot = "test"; field in class:EmbeddedAddServletDefaultVSTest
99 vs.addContext(context, contextRoot);
101 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/newservlet");
H A DEmbeddedAddServletTest.java72 static String contextRoot = "test"; field in class:EmbeddedAddServletTest
115 vs.addContext(context, contextRoot);
117 URL servlet = new URL("http://localhost:9090/"+contextRoot+"/newservlet");
H A DEmbeddedAddWebListenerTest.java81 static String contextRoot = "test"; field in class:EmbeddedAddWebListenerTest
128 String appName = deployer.deploy(path.toURI(), "--contextroot", contextRoot, "--name=" + name);
134 URL servlet = new URL("http://localhost:"+newPort+"/"+contextRoot+"/hello");
H A DEmbeddedClassLoaderTest.java61 static String contextRoot = "test"; field in class:EmbeddedClassLoaderTest
107 wc.addContext(context, contextRoot);
H A DEmbeddedCreateContextTest.java67 static String contextRoot = "test"; field in class:EmbeddedCreateContextTest
90 Context context = (Context) embedded.createContext(docRoot, contextRoot, null);
92 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
H A DEmbeddedCreateServletAndFilterTest.java76 static String contextRoot = "test"; field in class:EmbeddedCreateServletAndFilterTest
117 vs.addContext(context, contextRoot);
119 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/newFilterServlet");
H A DEmbeddedCreateVirtualServerTest.java69 static String contextRoot = "test"; field in class:EmbeddedCreateVirtualServerTest
121 vs.addContext(context, contextRoot);
123 URL servlet = new URL("http://localhost:"+newPort+"/"+contextRoot+"/hello");
H A DEmbeddedGetContextsTest.java69 static String contextRoot = "test"; field in class:EmbeddedGetContextsTest
112 String appName = deployer.deploy(path.toURI(), "--contextroot", contextRoot, "--name=" + name);
120 Assert.assertEquals("/"+contextRoot, vs.getContext(contextRoot).getPath());
124 if (ctx.getPath().endsWith(contextRoot)) {
130 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
H A DEmbeddedRedeployTest.java69 static String contextRoot = "/embedded-redeploy"; field in class:EmbeddedRedeployTest
92 embedded.addContext(context, contextRoot);
97 String path = vs.getContext(contextRoot).getPath();
98 Assert.assertEquals(path, contextRoot);
102 Assert.assertNull(vs.getContext(contextRoot));
104 embedded.addContext(context, contextRoot);
105 Assert.assertEquals(path, contextRoot);
110 Assert.assertNull(vs.getContext(contextRoot));
115 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
H A DEmbeddedRemoveContextTest.java69 static String contextRoot = "test"; field in class:EmbeddedRemoveContextTest
92 embedded.addContext(context, contextRoot);
96 Assert.assertEquals("/"+contextRoot, vs.getContext(contextRoot).getPath());
100 if (ctx.getPath().endsWith(contextRoot)) {
106 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
121 Assert.assertNull(vs.getContext(contextRoot));
126 if (ctx.getPath().endsWith(contextRoot)) {
132 embedded.addContext(context, contextRoot);
134 Assert.assertEquals("/"+contextRoot, v
[all...]
H A DEmbeddedRestartTest.java63 static String contextRoot = "test"; field in class:EmbeddedRestartTest
97 System.out.println("Deploying " + path + ", contextroot = " + contextRoot);
99 String appName = deployer.deploy(path.toURI(), "--contextroot", contextRoot);
105 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
H A DEmbeddedSetConfigurationTest.java71 static String contextRoot = "test"; field in class:EmbeddedSetConfigurationTest
H A DEmbeddedSetDefaultWebXmlTest.java70 static String contextRoot = "test"; field in class:EmbeddedSetDefaultWebXmlTest
95 embedded.addContext(context, contextRoot);
98 URL servlet = new URL("http://localhost:8080/"+contextRoot);
H A DEmbeddedSetDocRootTest.java71 static String contextRoot = "test"; field in class:EmbeddedSetDocRootTest
98 Context context = (Context) embedded.createContext(root, contextRoot, null);
100 URL servlet = new URL("http://localhost:8080/"+contextRoot);
H A DEmbeddedSetSecurityTest.java71 static String contextRoot = "security"; field in class:EmbeddedSetSecurityTest
97 embedded.addContext(context, contextRoot);
134 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/ServletTest");
H A DEmbeddedVirtualServerHostNameTest.java68 static String contextRoot = "host"; field in class:EmbeddedVirtualServerHostNameTest
99 embedded.addContext(context, contextRoot);
102 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
H A DEmbeddedWebAPITest.java71 static String contextRoot = "test"; field in class:EmbeddedWebAPITest
139 String appName = deployer.deploy(path.toURI(), "--contextroot", contextRoot, "--name=" + name);
145 URL servlet = new URL("http://localhost:8080/"+contextRoot+"/hello");
H A DEmbeddedWebTest.java69 static String contextRoot = "test"; field in class:EmbeddedWebTest
129 //embedded.addContext(context, contextRoot);
130 virtualServer.addContext(context, contextRoot);
132 URL servlet = new URL("http://localhost:"+newPort+"/"+contextRoot+"/hello");
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/adapter/
H A DInstallerThread.java76 private final String contextRoot; field in class:InstallerThread
86 InstallerThread(AdminConsoleAdapter adapter, Habitat habitat, Domain domain, ServerEnvironmentImpl env, String contextRoot, Logger log, List<String> vss) { argument
92 this.contextRoot = contextRoot;
146 app.setContextRoot(contextRoot);

Completed in 58 milliseconds

123