public class DefaultApplicationDeployer extends org.codehaus.plexus.logging.AbstractLogEnabled implements ApplicationDeployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
ROLE| Constructor and Description |
|---|
DefaultApplicationDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addApplicationListener(ApplicationListener listener) |
void |
contextualize(org.codehaus.plexus.context.Context context) |
void |
deploy(String name,
String url) |
void |
deploy(String name,
URL url) |
protected void |
deployApplicationDirectory(String name,
File location) |
void |
dispose() |
ApplicationRuntimeProfile |
getApplicationRuntimeProfile(String applicationName) |
void |
initialize() |
void |
redeploy(String name,
String url) |
void |
removeApplicationListener(ApplicationListener listener) |
void |
undeploy(String name) |
public void deploy(String name, String url) throws ApplicationServerException
deploy in interface ApplicationDeployerApplicationServerExceptionpublic void deploy(String name, URL url) throws ApplicationServerException
ApplicationServerExceptionprotected void deployApplicationDirectory(String name, File location) throws Exception
Exceptionpublic void redeploy(String name, String url) throws ApplicationServerException
redeploy in interface ApplicationDeployerApplicationServerExceptionpublic void undeploy(String name) throws ApplicationServerException
undeploy in interface ApplicationDeployerApplicationServerExceptionpublic ApplicationRuntimeProfile getApplicationRuntimeProfile(String applicationName) throws ApplicationServerException
getApplicationRuntimeProfile in interface ApplicationDeployerApplicationServerExceptionpublic void addApplicationListener(ApplicationListener listener)
addApplicationListener in interface ApplicationDeployerpublic void removeApplicationListener(ApplicationListener listener)
removeApplicationListener in interface ApplicationDeployerpublic void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextExceptionpublic void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializableorg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationExceptionpublic void dispose()
dispose in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.DisposableCopyright © 2001-2012 Codehaus. All Rights Reserved.