public class ContainerImpl extends Object implements Container
Container.State
Constructor and Description |
---|
ContainerImpl(String name,
DeployableContainer<?> deployableContainer,
ContainerDef containerConfiguration) |
Modifier and Type | Method and Description |
---|---|
ContainerConfiguration |
createDeployableConfiguration() |
ContainerDef |
getContainerConfiguration() |
DeployableContainer<?> |
getDeployableContainer() |
Throwable |
getFailureCause() |
String |
getName() |
ProtocolDef |
getProtocolConfiguration(ProtocolDescription description) |
Container.State |
getState() |
boolean |
hasProtocolConfiguration(ProtocolDescription description) |
void |
kill() |
void |
setState(Container.State state) |
void |
setup() |
void |
start() |
void |
stop() |
public ContainerImpl(String name, DeployableContainer<?> deployableContainer, ContainerDef containerConfiguration)
public DeployableContainer<?> getDeployableContainer()
getDeployableContainer
in interface Container
public ContainerDef getContainerConfiguration()
getContainerConfiguration
in interface Container
public ContainerConfiguration createDeployableConfiguration() throws Exception
createDeployableConfiguration
in interface Container
Exception
public boolean hasProtocolConfiguration(ProtocolDescription description)
hasProtocolConfiguration
in interface Container
public ProtocolDef getProtocolConfiguration(ProtocolDescription description)
getProtocolConfiguration
in interface Container
public Container.State getState()
public void setState(Container.State state)
public Throwable getFailureCause()
getFailureCause
in interface Container
public void setup() throws Exception
public void start() throws LifecycleException
start
in interface Container
LifecycleException
public void stop() throws LifecycleException
stop
in interface Container
LifecycleException
Copyright © 2016 JBoss by Red Hat. All rights reserved.