public class JBossServletContainerAdaptor
extends com.google.gwt.core.ext.ServletContainer
Constructor and Description |
---|
JBossServletContainerAdaptor(int port,
File appRootDir,
String context,
com.google.gwt.core.ext.TreeLogger treeLogger,
Process jbossProcess)
Initialize the command context for a remote JBoss AS instance.
|
public JBossServletContainerAdaptor(int port, File appRootDir, String context, com.google.gwt.core.ext.TreeLogger treeLogger, Process jbossProcess) throws com.google.gwt.core.ext.UnableToCompleteException
port
- The port to which the JBoss instance binds.appRootDir
- The exploded war directory to be deployed.context
- The deployment context for the app.treeLogger
- For logging events from this container.com.google.gwt.core.ext.UnableToCompleteException
- Thrown if this container cannot properly connect or deploy.public int getPort()
getPort
in class com.google.gwt.core.ext.ServletContainer
public void refresh() throws com.google.gwt.core.ext.UnableToCompleteException
refresh
in class com.google.gwt.core.ext.ServletContainer
com.google.gwt.core.ext.UnableToCompleteException
public void stop() throws com.google.gwt.core.ext.UnableToCompleteException
stop
in class com.google.gwt.core.ext.ServletContainer
com.google.gwt.core.ext.UnableToCompleteException
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.