public class Server extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PORT |
| Modifier and Type | Method and Description |
|---|---|
static Server |
create(String bindAddress,
int bindPort,
ClassLoader classLoader) |
protected Serializable |
executeTest(String testClassName,
String methodName) |
protected InetSocketAddress |
getBindAddress()
The address configured to which we should bind
|
protected ConcurrentMap<String,org.jboss.shrinkwrap.api.GenericArchive> |
getDeployedArchives() |
protected org.jboss.shrinkwrap.api.Domain |
getShrinkwrapDomain() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
protected void |
stopAsync()
Asynchronously calls upon
stop() |
public static final int MAX_PORT
public static Server create(String bindAddress, int bindPort, ClassLoader classLoader) throws IllegalArgumentException
IllegalArgumentExceptionpublic final void start()
throws ServerLifecycleException,
IllegalStateException
public final void stop()
throws ServerLifecycleException,
IllegalStateException
public final boolean isRunning()
protected final InetSocketAddress getBindAddress()
protected final ConcurrentMap<String,org.jboss.shrinkwrap.api.GenericArchive> getDeployedArchives()
protected final org.jboss.shrinkwrap.api.Domain getShrinkwrapDomain()
protected final Serializable executeTest(String testClassName, String methodName) throws IllegalStateException
IllegalStateExceptionprotected final void stopAsync()
stop()Copyright © 2016 JBoss by Red Hat. All rights reserved.