org.jboss.testharness.integration.jbossas
Class ProfileServiceConnector

java.lang.Object
  extended by org.jboss.testharness.spi.helpers.AbstractContainerConnector
      extended by org.jboss.testharness.integration.jbossas.JBossASConnector
          extended by org.jboss.testharness.integration.jbossas.ProfileServiceConnector
All Implemented Interfaces:
Configurable, Containers

public class ProfileServiceConnector
extends JBossASConnector


Field Summary
static java.lang.String MAX_DEPLOYMENTS_PROPERTY_NAME
           
 
Fields inherited from class org.jboss.testharness.spi.helpers.AbstractContainerConnector
EXTRA_CONFIGURATION_DIR_PROPERTY_NAME, FORCE_RESTART_PROPERTY_NAME, HOST_PROPERTY_NAME, JAVA_OPTS, JAVA_OPTS_PROPERTY_NAME, PORT_PROPERTY_NAME, SHUTDOWN_DELAY_PROPERTY_NAME
 
Fields inherited from interface org.jboss.testharness.spi.Containers
PROPERTY_NAME
 
Constructor Summary
ProfileServiceConnector()
           
 
Method Summary
 void cleanup()
           
 boolean deploy(java.io.InputStream archiveStream, java.lang.String name)
           
 DeploymentException getDeploymentException()
           
protected  java.lang.Boolean getForceRestart()
           
protected  java.lang.Integer getMaxDeployments()
           
protected  java.lang.String getMaxDeploymentsPropertyName()
           
protected  void initDeploymentManager()
          Obtain the Deployment Manager
 void setup()
           
 void undeploy(java.lang.String name)
           
 
Methods inherited from class org.jboss.testharness.integration.jbossas.JBossASConnector
getJBossBinDirectory, getLogName, getServerHomePropertyName, shutdownServer, startServer
 
Methods inherited from class org.jboss.testharness.spi.helpers.AbstractContainerConnector
copy, copy, dump, getDeploymentExceptionTransformer, getDeploymentExceptionTransformerPropertyName, getExtraConfigurationDir, getExtraConfigurationDirPropertyName, getForceRestartPropertyName, getHost, getHostPropertyName, getHttpUrl, getJavaOpts, getPort, getPortPropertyName, getProperties, getServerBootTimeout, getServerBootTimeoutPropertyName, getServerDirectory, getShutdownDelay, getShutdownDelayPropertyName, isServerUp, launch, loadProperties, restartServer, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_DEPLOYMENTS_PROPERTY_NAME

public static final java.lang.String MAX_DEPLOYMENTS_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

ProfileServiceConnector

public ProfileServiceConnector()
                        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setup

public void setup()
           throws java.io.IOException
Specified by:
setup in interface Containers
Overrides:
setup in class AbstractContainerConnector
Throws:
java.io.IOException

deploy

public boolean deploy(java.io.InputStream archiveStream,
                      java.lang.String name)
               throws java.io.IOException
Throws:
java.io.IOException

getDeploymentException

public DeploymentException getDeploymentException()

undeploy

public void undeploy(java.lang.String name)
              throws java.io.IOException
Throws:
java.io.IOException

initDeploymentManager

protected void initDeploymentManager()
                              throws java.lang.Exception
Obtain the Deployment Manager

Throws:
java.lang.Exception

cleanup

public void cleanup()
             throws java.io.IOException
Specified by:
cleanup in interface Containers
Overrides:
cleanup in class AbstractContainerConnector
Throws:
java.io.IOException

getMaxDeploymentsPropertyName

protected java.lang.String getMaxDeploymentsPropertyName()

getMaxDeployments

protected java.lang.Integer getMaxDeployments()

getForceRestart

protected java.lang.Boolean getForceRestart()
Overrides:
getForceRestart in class AbstractContainerConnector


Copyright © 2009-2010. All Rights Reserved.