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 ApplicationDeployer
ApplicationServerException
public void deploy(String name, URL url) throws ApplicationServerException
ApplicationServerException
protected void deployApplicationDirectory(String name, File location) throws Exception
Exception
public void redeploy(String name, String url) throws ApplicationServerException
redeploy
in interface ApplicationDeployer
ApplicationServerException
public void undeploy(String name) throws ApplicationServerException
undeploy
in interface ApplicationDeployer
ApplicationServerException
public ApplicationRuntimeProfile getApplicationRuntimeProfile(String applicationName) throws ApplicationServerException
getApplicationRuntimeProfile
in interface ApplicationDeployer
ApplicationServerException
public void addApplicationListener(ApplicationListener listener)
addApplicationListener
in interface ApplicationDeployer
public void removeApplicationListener(ApplicationListener listener)
removeApplicationListener
in interface ApplicationDeployer
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
org.codehaus.plexus.context.ContextException
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public void dispose()
dispose
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
Copyright © 2001-2012 Codehaus. All Rights Reserved.