public class JBossWeb
extends org.apache.catalina.core.StandardService
| Constructor and Description |
|---|
JBossWeb(String route,
String host) |
JBossWeb(String route,
String host,
boolean nat) |
JBossWeb(String route,
String host,
boolean nat,
String webapp) |
JBossWeb(String route,
String host,
boolean nat,
String webapp,
String[] Aliases)
Returns a JBossWeb service to use in our embedded tests.
|
JBossWeb(String route,
String host,
String webapp) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.catalina.connector.Connector |
addConnector(int port) |
org.apache.catalina.connector.Connector |
addConnector(int port,
String scheme) |
org.apache.catalina.connector.Connector |
addConnector(int port,
String protocol,
String address) |
void |
addWAR(String file,
String route) |
void |
removeContext(String path) |
void |
removeContext(String path,
String hostname) |
addConnector, addExecutor, addLifecycleListener, addPropertyChangeListener, destroy, findConnectors, findExecutors, findLifecycleListeners, getConnectorNames, getContainer, getContainerName, getDomain, getEntropy, getExecutor, getInfo, getMapper, getName, getObjectName, getRandom, getServer, init, initialize, postDeregister, postRegister, preDeregister, preRegister, removeConnector, removeExecutor, removeLifecycleListener, removePropertyChangeListener, setContainer, setEntropy, setName, setServer, start, stop, toStringpublic JBossWeb(String route, String host, boolean nat, String webapp, String[] Aliases) throws IOException
route - the JVMRoute of the corresponding node.host - the name of the virtualhostnat - indicated to use native or not.webapp - name of webapp (ROOT maps as / and bla as /bla).Aliasias - an array of String containing the Aliases names.IOExceptionpublic JBossWeb(String route, String host) throws IOException
IOExceptionpublic JBossWeb(String route, String host, boolean nat) throws IOException
IOExceptionpublic JBossWeb(String route, String host, String webapp) throws IOException
IOExceptionpublic JBossWeb(String route, String host, boolean nat, String webapp) throws IOException
IOExceptionpublic void addWAR(String file, String route) throws IOException
IOExceptionpublic org.apache.catalina.connector.Connector addConnector(int port)
throws Exception
Exceptionpublic org.apache.catalina.connector.Connector addConnector(int port,
String scheme)
throws Exception
Exceptionpublic org.apache.catalina.connector.Connector addConnector(int port,
String protocol,
String address)
throws Exception
Exceptionpublic void removeContext(String path)
Copyright © 2017 JBoss by Red Hat. All rights reserved.