@Service
@PerLookup
@ContractsProvided(value={DeployerImpl.class,org.glassfish.embeddable.Deployer.class})
public class DeployerImpl
extends Object
implements org.glassfish.embeddable.Deployer
Deployer.
Unlike the other EmbeddedDeployer, this deployer uses admin command execution
framework to execute the underlying command, as a result we don't by-pass things like command replication code.| Constructor and Description |
|---|
DeployerImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
deploy(File file,
String... params) |
String |
deploy(InputStream is,
String... params) |
String |
deploy(URI archive,
String... params) |
Collection<String> |
getDeployedApplications() |
void |
undeploy(String appName,
String... params) |
public String deploy(URI archive, String... params) throws org.glassfish.embeddable.GlassFishException
deploy in interface org.glassfish.embeddable.Deployerorg.glassfish.embeddable.GlassFishExceptionpublic String deploy(File file, String... params) throws org.glassfish.embeddable.GlassFishException
deploy in interface org.glassfish.embeddable.Deployerorg.glassfish.embeddable.GlassFishExceptionpublic String deploy(InputStream is, String... params) throws org.glassfish.embeddable.GlassFishException
deploy in interface org.glassfish.embeddable.Deployerorg.glassfish.embeddable.GlassFishExceptionpublic void undeploy(String appName, String... params) throws org.glassfish.embeddable.GlassFishException
undeploy in interface org.glassfish.embeddable.Deployerorg.glassfish.embeddable.GlassFishExceptionpublic Collection<String> getDeployedApplications() throws org.glassfish.embeddable.GlassFishException
getDeployedApplications in interface org.glassfish.embeddable.Deployerorg.glassfish.embeddable.GlassFishExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.