org.jboss.arquillian.container.impl
Class ContainerImpl
java.lang.Object
org.jboss.arquillian.container.impl.ContainerImpl
- All Implemented Interfaces:
- Container
public class ContainerImpl
- extends Object
- implements Container
Container
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerImpl
public ContainerImpl(String name,
DeployableContainer<?> deployableContainer,
ContainerDef containerConfiguration)
getName
public String getName()
- Specified by:
getName
in interface Container
- Returns:
- the name
getDeployableContainer
public DeployableContainer<?> getDeployableContainer()
- Specified by:
getDeployableContainer
in interface Container
- Returns:
- the deployableContainer
getContainerConfiguration
public ContainerDef getContainerConfiguration()
- Specified by:
getContainerConfiguration
in interface Container
- Returns:
- the containerConfiguration
createDeployableConfiguration
public ContainerConfiguration createDeployableConfiguration()
throws Exception
- Specified by:
createDeployableConfiguration
in interface Container
- Returns:
- the configuration
- Throws:
Exception
hasProtocolConfiguration
public boolean hasProtocolConfiguration(ProtocolDescription description)
- Specified by:
hasProtocolConfiguration
in interface Container
getProtocolConfiguration
public ProtocolDef getProtocolConfiguration(ProtocolDescription description)
- Specified by:
getProtocolConfiguration
in interface Container
getState
public Container.State getState()
- Specified by:
getState
in interface Container
setState
public void setState(Container.State state)
- Specified by:
setState
in interface Container
getFailureCause
public Throwable getFailureCause()
- Specified by:
getFailureCause
in interface Container
setup
public void setup()
throws Exception
- Specified by:
setup
in interface Container
- Throws:
Exception
start
public void start()
throws LifecycleException
- Specified by:
start
in interface Container
- Throws:
LifecycleException
stop
public void stop()
throws LifecycleException
- Specified by:
stop
in interface Container
- Throws:
LifecycleException
kill
public void kill()
throws Exception
- Specified by:
kill
in interface Container
- Throws:
Exception
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.