Searched refs:vs (Results 1 - 25 of 48) sorted by relevance

12

/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DVirtualServerFacade.java104 private VirtualServer vs = null; field in class:VirtualServerFacade
120 if (vs != null) {
121 vs.setDocRoot(docRoot);
146 if (vs != null) {
147 vs.setID(id);
184 if (vs != null) {
185 vs.addContext(context, contextRoot);
197 if (vs != null) {
198 vs.removeContext(context);
208 if (vs !
249 setVirtualServer(VirtualServer vs) argument
[all...]
H A DWebContainer.java1119 com.sun.enterprise.config.serverbeans.VirtualServer vs
1121 List hosts = StringUtils.parseStringList(vs.getHosts(), ",");
1135 new Object[]{host, vs.getId(),
1156 for (com.sun.enterprise.config.serverbeans.VirtualServer vs : virtualServers) {
1157 createHost(vs, httpService, securityService);
1159 _logger.log(Level.INFO, "webContainer.virtualServer.created", vs.getId());
1190 VirtualServer vs = createHost(vs_id, vsBean, docroot, mm
1196 vs.configureCacheControl(cacheProp.getValue());
1199 PEAccessLogValve accessLogValve = vs.getAccessLogValve();
1205 && vs
1264 configureHost(VirtualServer vs, SecurityService securityService) argument
1310 configureHostPortNumbers(VirtualServer vs, HashSet<NetworkListener> listeners) argument
1529 loadDefaultWebModule(VirtualServer vs) argument
1570 loadStandaloneWebModule(VirtualServer vs, WebModuleConfig wmInfo) argument
1703 verifyAlias(List<String> vsList, VirtualServer vs) argument
1716 matchAlias(List<String> vsList, VirtualServer vs) argument
1732 loadWebModule( VirtualServer vs, WebModuleConfig wmInfo, String j2eeApplication, Properties deploymentProperties) argument
2588 createAdHocWebModule( VirtualServer vs, String ctxtRoot, String appName) argument
2609 createAdHocWebModule( String id, VirtualServer vs, String ctxtRoot, String appName) argument
2656 removeDummyModule(VirtualServer vs) argument
2988 updateHostProperties( com.sun.enterprise.config.serverbeans.VirtualServer vsBean, String name, String value, SecurityService securityService, final VirtualServer vs) argument
3320 updateDocroot( String docroot, VirtualServer vs, com.sun.enterprise.config.serverbeans.VirtualServer vsBean) argument
3338 updateAlternateDocroot(VirtualServer vs) argument
[all...]
H A DVirtualServerPipeline.java75 private VirtualServer vs; field in class:VirtualServerPipeline
87 * @param vs Virtual server with which this VirtualServerPipeline is being
90 public VirtualServerPipeline(VirtualServer vs) { argument
91 super(vs);
92 this.vs = vs;
109 msg = MessageFormat.format(msg, new Object[] { vs.getName() });
118 msg = MessageFormat.format(msg, new Object[] { vs.getName() });
H A DEmbeddedWebContainer.java152 VirtualServer vs = new VirtualServer();
153 vs.setFileLoggerHandlerFactory(fileLoggerHandlerFactory);
155 vs.configure(vsID, vsBean, vsDocroot, vsLogFile, vsMimeMap,
161 vs.addContainerListener(listener);
164 return vs;
/glassfish-3.1.2/web/admin/src/main/java/org/glassfish/web/admin/monitor/
H A DHttpServiceStatsProviderBootstrap.java93 for (VirtualServer vs : httpService.getVirtualServer()) {
97 "http-service/" + vs.getId(),
98 new VirtualServerInfoStatsProvider(vs));
102 "http-service/" + vs.getId() + "/request",
103 new HttpServiceStatsProvider(vs.getId(), vs.getNetworkListeners()));
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DDuplicateKeyedElementTest.java73 for (VirtualServer vs : httpService.getVirtualServer()) {
74 if (!vs.getProperty().isEmpty()) {
75 target = vs;
103 for (VirtualServer vs : httpService.getVirtualServer()) {
104 if (!vs.getProperty().isEmpty()) {
105 target = vs;
H A DPropertyChangeListenerTest.java83 for (VirtualServer vs : httpService.getVirtualServer()) {
84 if (!vs.getProperty().isEmpty()) {
85 target = vs;
H A DAttributeRemovalTest.java70 VirtualServer vs = httpService.getVirtualServerByName("server");
77 }, vs);
80 org.junit.Assert.assertNotNull(vs.getDefaultWebModule());
88 }, vs);
91 org.junit.Assert.assertNull(vs.getDefaultWebModule());
H A DVetoableChangeListenerTest.java82 for (VirtualServer vs : httpService.getVirtualServer()) {
83 if (!vs.getProperty().isEmpty()) {
84 target = vs;
/glassfish-3.1.2/tests/embedded/web/web-api/src/test/java/org/glassfish/tests/embedded/web/
H A DEmbeddedRemoveContextTest.java94 VirtualServer vs = embedded.getVirtualServer("server");
95 Assert.assertEquals("server", vs.getID());
96 Assert.assertEquals("/"+contextRoot, vs.getContext(contextRoot).getPath());
98 for (Context ctx : vs.getContexts()) {
121 Assert.assertNull(vs.getContext(contextRoot));
124 for (Context ctx : vs.getContexts()) {
134 Assert.assertEquals("/"+contextRoot, vs.getContext(contextRoot).getPath());
135 for (Context ctx : vs.getContexts()) {
H A DEmbeddedRedeployTest.java94 VirtualServer vs = embedded.getVirtualServer("server");
95 for (Context ctx : vs.getContexts())
97 String path = vs.getContext(contextRoot).getPath();
102 Assert.assertNull(vs.getContext(contextRoot));
110 Assert.assertNull(vs.getContext(contextRoot));
H A DEmbeddedAddContextTest.java94 VirtualServer vs = embedded.getVirtualServer("server");
95 Assert.assertEquals("server", vs.getID());
96 Assert.assertEquals("/"+contextRoot, vs.getContext(contextRoot).getPath());
98 for (Context ctx : vs.getContexts()) {
H A DEmbeddedAddListenerDefaultVSTest.java94 VirtualServer vs = embedded.getVirtualServer("server");
95 System.out.println("Default virtual server "+vs);
100 vs.addContext(context, contextRoot);
115 vs.removeContext(context);
H A DEmbeddedAddServletAndFilterByClassNameTest.java97 VirtualServer vs = embedded.getVirtualServer("server");
98 System.out.println("Default virtual server "+vs);
110 vs.addContext(context, contextRoot);
125 vs.removeContext(context);
H A DEmbeddedAddServletAndFilterByClassTest.java98 VirtualServer vs = embedded.getVirtualServer("server");
99 System.out.println("Default virtual server "+vs);
115 vs.addContext(context, contextRoot);
130 vs.removeContext(context);
H A DEmbeddedAddServletDefaultVSTest.java94 VirtualServer vs = embedded.getVirtualServer("server");
95 System.out.println("Default virtual server "+vs);
99 vs.addContext(context, contextRoot);
114 vs.removeContext(context);
H A DEmbeddedAddServletTest.java100 VirtualServer vs = (VirtualServer)
102 vs.setConfig(config);
103 embedded.addVirtualServer(vs);
115 vs.addContext(context, contextRoot);
129 vs.removeContext(context);
H A DEmbeddedSetDocRootTest.java92 VirtualServer vs = (VirtualServer)
96 vs.setConfig(config);
97 embedded.addVirtualServer(vs);
H A DEmbeddedCreateServletAndFilterTest.java98 VirtualServer vs = embedded.getVirtualServer("server");
99 System.out.println("Default virtual server "+vs);
117 vs.addContext(context, contextRoot);
132 vs.removeContext(context);
H A DEmbeddedCreateVirtualServerTest.java114 VirtualServer vs = embedded.getVirtualServer(virtualServerId);
115 Assert.assertEquals(virtualServerId,vs.getID());
121 vs.addContext(context, contextRoot);
135 vs.removeContext(context);
H A DEmbeddedGetContextsTest.java118 VirtualServer vs = embedded.getVirtualServer("server");
119 Assert.assertEquals("server", vs.getID());
120 Assert.assertEquals("/"+contextRoot, vs.getContext(contextRoot).getPath());
122 for (Context ctx : vs.getContexts()) {
H A DEmbeddedWebAPITest.java108 VirtualServer vs = (VirtualServer)
112 vs.setConfig(config);
113 embedded.addVirtualServer(vs);
115 vs = embedded.getVirtualServer(virtualServerId);
116 Assert.assertEquals(virtualServerId,vs.getID());
/glassfish-3.1.2/admingui/web/src/main/resources/configuration/
H A DvirtualServerAttrs.inc48 <sun:property id="IdStaticProp" rendered="#{edit}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.vs.Id}" >
52 <sun:property id="IdTextProp" rendered="#{!edit}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.vs.Id}">
53 <sun:textField id="IdText" styleClass="required" text="#{pageSession.valueMap['id']}" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.vs.Id']}" required="#{true}" />
56 <sun:property id="hostsProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.vs.Hosts}" helpText="$resource{i18n_web.vs.HostsHelp}">
57 <sun:textField id="Hosts" styleClass="required" columns="$int{55}" maxLength="#{sessionScope.fieldLengths['maxLength.vs.Hosts']}" text="#{pageSession.valueMap['hosts']}" required="#{true}"/>
60 <sun:property id="stateProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.vs.State}">
61 <sun:dropDown id="state" selected="#{pageSession.valueMap['state']}" labels={"$resource{i18n_web.vs.StateOn}","$resource{i18n_web.vs.StateOff}","$resource{i18n_web.vs
[all...]
/glassfish-3.1.2/web/web-embed/impl/src/main/java/org/glassfish/web/embed/impl/
H A DWebContainerImpl.java276 com.sun.enterprise.config.serverbeans.VirtualServer vs =
284 }, vs);
468 VirtualServer vs = getVirtualServer(config.getVirtualServerId());
469 if (vs != null) {
470 ((StandardHost)vs).setDefaultWebXmlLocation(config.getDefaultWebXml().getPath());
497 vs = createVirtualServer(config.getVirtualServerId(), config.getDocRootDir());
498 addVirtualServer(vs);
672 for (VirtualServer vs : getVirtualServers()) {
673 if (vs.getContext(contextRoot)!=null) {
678 if (!org.glassfish.api.web.Constants.ADMIN_VS.equals(vs
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/org/glassfish/kernel/embedded/
H A DPortImpl.java100 final VirtualServer vs = (VirtualServer) params[1];
117 String lss = vs.getNetworkListeners();
119 vs.setNetworkListeners(lss.replaceAll(regex, ""));

Completed in 40 milliseconds

12