public abstract class TomEEContainer<Configuration extends TomEEConfiguration>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TomEEContainer.DeployedApp |
protected class |
TomEEContainer.Dump |
Modifier and Type | Field and Description |
---|---|
protected Configuration |
configuration |
protected <any> |
deployment |
protected static java.util.logging.Logger |
LOGGER |
protected java.util.Map<java.lang.String,TomEEContainer.DeployedApp> |
moduleIds |
Modifier | Constructor and Description |
---|---|
protected |
TomEEContainer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addArquillianServlet(<any> archive,
AppInfo appInfo,
java.lang.String archiveName,
HTTPContext httpContext) |
void |
addServlets(HTTPContext httpContext,
AppInfo appInfo) |
protected Assignable |
archiveWithTestInfo(<any> archive) |
ProtocolMetaData |
deploy(<any> archive) |
void |
deploy(Descriptor descriptor) |
protected Deployer |
deployer() |
protected AppInfo |
doDeploy(<any> archive,
java.io.File file) |
protected void |
doUndeploy(TomEEContainer.DeployedApp deployed) |
protected TomEEContainer.Dump |
dumpFile(<any> archive) |
protected java.lang.String |
getArchiveNameWithoutExtension(<any> archive) |
Configuration |
getConfiguration() |
ProtocolDescription |
getDefaultProtocol() |
protected java.util.Collection<AppInfo> |
getDeployedApps() |
protected java.util.Properties |
getDeployerProperties() |
protected void |
handlePrefix() |
protected boolean |
isTestable(<any> archive,
DeploymentDescription deploymentDescription) |
protected Deployer |
lookupDeployerWithRetry(int retry) |
protected java.lang.String |
providerUrl() |
protected void |
resetSerialization() |
protected void |
setPorts() |
void |
setup(Configuration configuration) |
abstract void |
start() |
void |
stop() |
void |
undeploy(<any> archive) |
void |
undeploy(Descriptor descriptor) |
protected void |
waitForShutdown(java.net.Socket socket,
int tries) |
protected static final java.util.logging.Logger LOGGER
protected Configuration extends TomEEConfiguration configuration
protected java.util.Map<java.lang.String,TomEEContainer.DeployedApp> moduleIds
protected <any> deployment
public Configuration getConfiguration()
protected void resetSerialization()
protected boolean isTestable(<any> archive, DeploymentDescription deploymentDescription)
protected void handlePrefix()
public void setup(Configuration configuration)
protected void addArquillianServlet(<any> archive, AppInfo appInfo, java.lang.String archiveName, HTTPContext httpContext)
protected void setPorts()
public abstract void start() throws LifecycleException
LifecycleException
public void stop() throws LifecycleException
LifecycleException
protected void waitForShutdown(java.net.Socket socket, int tries)
public ProtocolDescription getDefaultProtocol()
public void addServlets(HTTPContext httpContext, AppInfo appInfo)
public ProtocolMetaData deploy(<any> archive) throws DeploymentException
DeploymentException
protected java.util.Collection<AppInfo> getDeployedApps() throws javax.naming.NamingException
javax.naming.NamingException
protected AppInfo doDeploy(<any> archive, java.io.File file) throws OpenEJBException, javax.naming.NamingException, java.io.IOException
OpenEJBException
javax.naming.NamingException
java.io.IOException
protected java.util.Properties getDeployerProperties()
protected TomEEContainer.Dump dumpFile(<any> archive)
protected Assignable archiveWithTestInfo(<any> archive)
protected Deployer deployer() throws javax.naming.NamingException
javax.naming.NamingException
protected Deployer lookupDeployerWithRetry(int retry) throws javax.naming.NamingException
javax.naming.NamingException
protected java.lang.String providerUrl()
protected java.lang.String getArchiveNameWithoutExtension(<any> archive)
public void undeploy(<any> archive) throws DeploymentException
DeploymentException
protected void doUndeploy(TomEEContainer.DeployedApp deployed) throws UndeployException, NoSuchApplicationException, javax.naming.NamingException
UndeployException
NoSuchApplicationException
javax.naming.NamingException
public void deploy(Descriptor descriptor) throws DeploymentException
DeploymentException
public void undeploy(Descriptor descriptor) throws DeploymentException
DeploymentException