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

1234

/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/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/
H A DJavaWebStartAccessDescriptor.java81 * Holds value of property contextRoot.
83 private String contextRoot = null; field in class:JavaWebStartAccessDescriptor
86 * Getter for property contextRoot.
87 * @return Value of property contextRoot.
91 return this.contextRoot;
95 * Setter for property contextRoot.
96 * @param contextRoot New value of property contextRoot.
98 public void setContextRoot(String contextRoot) { argument
100 this.contextRoot
[all...]
/glassfish-3.1.2/webservices/soap-tcp/src/main/java/org/glassfish/webservices/transport/tcp/
H A DWSEndpointDescriptor.java54 final private String contextRoot; field in class:WSEndpointDescriptor
62 public WSEndpointDescriptor(final WebServiceEndpoint wsServiceDescriptor, final String contextRoot, argument
68 this.contextRoot = contextRoot;
82 return contextRoot;
H A DAppServRegistry.java120 final String contextRoot = getEndpointContextRoot(wsServiceDescriptor);
129 contextRoot,
154 String contextRoot = wsServiceDescriptor.getWebComponentImpl().
157 wsPath = contextRoot + ensureSlash(urlPattern);
168 String contextRoot;
170 contextRoot = wsServiceDescriptor.getWebComponentImpl().
172 logger.log(Level.FINE, MessagesMessages.WSTCP_1112_APP_SERV_REG_GET_ENDP_CR_NON_EJB(contextRoot));
175 contextRoot = "/" + path[1];
176 logger.log(Level.FINE, MessagesMessages.WSTCP_1113_APP_SERV_REG_GET_ENDP_CR_EJB(contextRoot));
179 return contextRoot;
[all...]
/glassfish-3.1.2/extras/grizzly-container/src/main/java/org/glassfish/extras/grizzly/
H A DGrizzlyApp.java66 final String contextRoot; field in class:GrizzlyApp.Adapter
67 public Adapter(String contextRoot, com.sun.grizzly.tcp.Adapter adapter) { argument
69 this.contextRoot = contextRoot;
85 dispatcher.registerEndpoint(module.contextRoot, module.adapter, this);
94 dispatcher.unregisterEndpoint(module.contextRoot);
97 Level.SEVERE, "Exception while unregistering adapter at " + module.contextRoot, e);
H A DGrizzlyModuleDescriptor.java110 public void addAdapter(String contextRoot, String className) { argument
111 if (tuples.containsKey(contextRoot)) {
112 throw new RuntimeException("duplicate context root in configuration :" + contextRoot);
114 tuples.put(contextRoot, className);
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/
H A DJAXWSAdapterRegistry.java73 public void addAdapter(String contextRoot, String urlPattern, argument
75 if (contextRoot == null)
76 contextRoot = "";
78 (ContextAdapter)store.get(contextRoot);
80 contextRtInfo = new ContextAdapter(contextRoot);
83 store.put(contextRoot, contextRtInfo);
86 public Adapter getAdapter(String contextRoot, argument
89 (ContextAdapter)store.get(contextRoot);
95 public void removeAdapter(String contextRoot) { argument
96 if(contextRoot
106 String contextRoot; field in class:JAXWSAdapterRegistry.ContextAdapter
110 ContextAdapter(String contextRoot) argument
[all...]
H A DWebServicesApplication.java131 String contextRoot = ejbendpoint.contextRoot;
134 dispatcher.registerEndpoint(contextRoot, (com.sun.grizzly.tcp.Adapter)adapter, this);
140 rootURL + contextRoot)
187 String contextRoot = null;
191 contextRoot = endpoint.contextRoot;
192 dispatcher.unregisterEndpoint(contextRoot);
224 private final String contextRoot; field in class:WebServicesApplication.EjbEndpoint
228 EjbEndpoint(String contextRoot,boolea argument
[all...]
/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 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 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 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 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 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");
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DModuleDescriptor.java82 private String contextRoot; field in class:ModuleDescriptor
173 * @param contextRoot the contextRoot
175 public void setContextRoot(String contextRoot) { argument
176 this.contextRoot = contextRoot;
183 return contextRoot;
272 if (contextRoot!=null) {
273 toStringBuffer.append(" , ContextRoot = " + contextRoot);
288 out.writeObject(contextRoot);
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DWebDeployer.java130 String contextRoot = params.contextroot;
131 if(contextRoot==null) {
132 contextRoot = wbd.getContextRoot();
133 if("".equals(contextRoot))
134 contextRoot = null;
136 if(contextRoot==null) {
137 contextRoot = params.previousContextRoot;
139 if(contextRoot==null)
140 contextRoot = dc.getOriginalSource().getName();
142 if (!contextRoot
[all...]
/glassfish-3.1.2/web/web-embed/api/src/main/java/org/glassfish/embeddable/web/
H A DVirtualServer.java117 * @param contextRoot the context root at which to register
124 public void addContext(Context context, String contextRoot) argument
142 * @param contextRoot the context root whose <tt>Context</tt> to get
148 public Context getContext(String contextRoot); argument
H A DWebContainer.java158 * @param contextRoot the contextroot at which to register
163 public Context createContext(File docRoot, String contextRoot, argument
174 * @param contextRoot the context root at which to register
181 public void addContext(Context context, String contextRoot) argument
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/pwc/
H A DPwcWebModule.java104 private String contextRoot; field in class:PwcWebModule
318 return contextRoot;
325 * @param contextRoot Web module context root
327 public void setContextRoot(String contextRoot){ argument
328 this.contextRoot = contextRoot;
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/connection/
H A DConnectionManager.java82 * @param contextRoot context root that will be used in constructing the URL
86 public HttpURLConnection getConnection(String contextRoot) throws IOException { argument
88 return getSecureConnection(contextRoot);
90 return getNonSecureConnection(contextRoot);
96 * @param contextRoot context root that will be used in constructing the URL
100 private HttpURLConnection getNonSecureConnection(String contextRoot) throws IOException { argument
111 url = new URL(HTTP_PROTOCOL, _lbHost, Integer.parseInt(_lbPort), contextRoot);
127 * @param contextRoot context root that will be used in constructing the URL
131 private HttpsURLConnection getSecureConnection(String contextRoot) throws IOException { argument
169 url = new URL(HTTPS_PROTOCOL, _lbHost, Integer.parseInt(_lbPort), contextRoot);
[all...]
/glassfish-3.1.2/tests/community/web/jruby/helloapp/test/
H A DJRubyTestNG.java76 String contextRoot=System.getProperty("contextroot");
78 String testurl = "http://" + host + ":" + port + "/"+ contextRoot+"/";
119 String contextRoot=System.getProperty("contextroot");
121 String testurl = "http://" + host + ":" + port + "/"+ contextRoot
/glassfish-3.1.2/tests/quicklook/web/jruby/helloapp/test/
H A DJRubyTestNG.java76 String contextRoot=System.getProperty("contextroot");
78 String testurl = "http://" + host + ":" + port + "/"+ contextRoot+"/";
119 String contextRoot=System.getProperty("contextroot");
121 String testurl = "http://" + host + ":" + port + "/"+ contextRoot
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/core/
H A DServiceEngineEndpoint.java72 private String contextRoot; field in class:ServiceEngineEndpoint
84 String contextRoot,
97 this.contextRoot = contextRoot;
118 return contextRoot;
79 ServiceEngineEndpoint(WebServiceEndpoint endpointDesc, WebModule webModule, QName serviceName, String endpointName, String implClass, String contextRoot, boolean enabled) argument
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/
H A DRestrictedContentAdapter.java79 private final String contextRoot; field in class:RestrictedContentAdapter
85 final String contextRoot,
87 this(contextRoot);
106 public RestrictedContentAdapter(final String contextRoot) { argument
112 this.contextRoot = contextRoot;
131 public String contextRoot() { method in class:RestrictedContentAdapter
132 return contextRoot;
165 // if ( (result = relativizeURIString(contextRoot, uriString)) == null) {
168 // new Object[] {uriString, contextRoot, userFriendlyContextRoo
84 RestrictedContentAdapter( final String contextRoot, final Map<String,StaticContent> content) argument
[all...]

Completed in 30 milliseconds

1234