org.jboss.errai.cdi.server.as
Class JBossServletContainerAdaptor
java.lang.Object
com.google.gwt.core.ext.ServletContainer
org.jboss.errai.cdi.server.as.JBossServletContainerAdaptor
public class JBossServletContainerAdaptor
- extends com.google.gwt.core.ext.ServletContainer
Acts as a an adaptor between gwt's ServletContainer interface and a JBoss AS
7 instance.
- Author:
- Max Barkley
Methods inherited from class com.google.gwt.core.ext.ServletContainer |
getHost |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossServletContainerAdaptor
public JBossServletContainerAdaptor(int port,
File appRootDir,
String context,
com.google.gwt.core.ext.TreeLogger treeLogger,
Process jbossProcess)
throws com.google.gwt.core.ext.UnableToCompleteException
- Initialize the command context for a remote JBoss AS instance.
- Parameters:
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.
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
- Thrown if this container cannot properly connect or deploy.
getPort
public int getPort()
- Specified by:
getPort
in class com.google.gwt.core.ext.ServletContainer
refresh
public void refresh()
throws com.google.gwt.core.ext.UnableToCompleteException
- Specified by:
refresh
in class com.google.gwt.core.ext.ServletContainer
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
stop
public void stop()
throws com.google.gwt.core.ext.UnableToCompleteException
- Specified by:
stop
in class com.google.gwt.core.ext.ServletContainer
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.