Swarm instead.@Deprecated @Vetoed public class Container extends Swarm
ARTIFACT_MANAGER, VERSION| Constructor and Description |
|---|
Container()
Deprecated.
|
Container(boolean debugBootstrap)
Deprecated.
|
Container(boolean debugBootstrap,
String... args)
Deprecated.
|
Container(String... args)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.shrinkwrap.api.Archive<?> |
createDefaultDeployment()
Deprecated.
Retrieve the default ShrinkWrap deployment.
|
Container |
deploy()
Deprecated.
|
Container |
deploy(org.jboss.shrinkwrap.api.Archive<?> deployment)
Deprecated.
|
Container |
fraction(Fraction fraction)
Deprecated.
|
Container |
start()
Deprecated.
|
Container |
start(org.jboss.shrinkwrap.api.Archive<?> deployment)
Deprecated.
|
Container |
stop()
Deprecated.
|
Container |
withStageConfig(URL url)
Deprecated.
|
Container |
withXmlConfig(URL url)
Deprecated.
|
allArtifacts, artifact, artifact, component, getCommandLine, hasStageConfig, main, outboundSocketBinding, setArgs, socketBinding, stageConfig@Deprecated public Container withStageConfig(URL url)
Swarmproject-stages.yml configuration.
Usage of a YAML configuration is not exclusive with other configuration methods.
withStageConfig in class Swarmurl - The URL of the YAML configurable.Swarm.withXmlConfig(URL)@Deprecated public Container withXmlConfig(URL url)
Swarmstandalone.xml) format.
Usage of an XML configuration file is not exclusive with other configuration methods.
withXmlConfig in class Swarmurl - The URL of the XML configuration file.Swarm.withStageConfig(URL)@Deprecated public Container fraction(Fraction fraction)
Swarm@Deprecated public Container stop() throws Exception
Swarm@Deprecated public Container start() throws Exception
SwarmThis is a blocking call, which guarateens that when it returns without error, the container is fully started.
@Deprecated public Container start(org.jboss.shrinkwrap.api.Archive<?> deployment) throws Exception
SwarmEffectively calls start().deploy(deployment)
start in class Swarmdeployment - The deployment to deploy.Exception - if an error occurs.Swarm.start(),
Swarm.deploy(Archive)@Deprecated public Container deploy() throws DeploymentException, IllegalStateException
SwarmFor regular uberjars, it is effectively a short-cut for deploy(swarm.createDefaultDeployment()),
deploying the baked-in deployment.
For hollow uberjars, it deploys whatever deployments were passed through the command-line, as none are baked-in.
deploy in class SwarmDeploymentException - if an error occurs.IllegalStateException - if the container has not already been started.Swarm.Swarm(String...),
Swarm.setArgs(String...),
Swarm.deploy(Archive),
Swarm.createDefaultDeployment()@Deprecated public Container deploy(org.jboss.shrinkwrap.api.Archive<?> deployment) throws Exception
Swarmdeploy in class Swarmdeployment - The ShrinkWrap archive to deploy.DeploymentException - if an error occurs.Exceptionpublic org.jboss.shrinkwrap.api.Archive<?> createDefaultDeployment()
throws Exception
SwarmcreateDefaultDeployment in class SwarmExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.