|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.api.embedded.web.WebBuilder
@Service(name="web") public class WebBuilder
Configuration for the WebContainer instance
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.glassfish.api.embedded.ContainerBuilder |
|---|
ContainerBuilder.Type |
| Constructor Summary | |
|---|---|
WebBuilder()
|
|
| Method Summary | |
|---|---|
EmbeddedWebContainer |
create(Server server)
Creates a embedded container |
URL |
getDefaultWebXml()
|
File |
getDocRootDir()
|
String[] |
getHostNames()
Gets the host names of the default VirtualServer (default: localhost). |
String |
getVirtualServerId()
Gets the id of the default VirtualServer (default: server). |
WebBuilder |
setDefaultWebXml(URL url)
|
WebBuilder |
setDocRootDir(File f)
|
void |
setHostNames(String... hostNames)
Sets the host names of the default VirtualServer (default: localhost). |
WebBuilder |
setHttpListenerName(String name)
|
WebBuilder |
setListings(boolean b)
|
void |
setVirtualServerId(String virtualServerId)
Sets the id of the default VirtualServer (default: server). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebBuilder()
| Method Detail |
|---|
public WebBuilder setDefaultWebXml(URL url)
public URL getDefaultWebXml()
public WebBuilder setHttpListenerName(String name)
public WebBuilder setDocRootDir(File f)
public File getDocRootDir()
public WebBuilder setListings(boolean b)
public void setVirtualServerId(String virtualServerId)
virtualServerId - the id of the default VirtualServerpublic String getVirtualServerId()
public void setHostNames(String... hostNames)
hostNames - the host names of the default VirtualServerpublic String[] getHostNames()
public EmbeddedWebContainer create(Server server)
ContainerBuilder
create in interface ContainerBuilder<EmbeddedWebContainer>server - the embedded server in which the container resides.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 12-March-2010 04:35