org.apache.jetspeed.deployment.impl
Class DeployPortletAppEventListener
java.lang.Object
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener
- All Implemented Interfaces:
- org.apache.jetspeed.deployment.DeploymentEventListener
- Direct Known Subclasses:
- JettyDeployPortletAppEventListener
public class DeployPortletAppEventListener
- extends Object
- implements org.apache.jetspeed.deployment.DeploymentEventListener
DeployportletAppEventListener
- Version:
- $Id: DeployPortletAppEventListener.java 548891 2007-06-20 02:24:37Z ate $
- Author:
- Scott T. Weaver
Constructor Summary |
DeployPortletAppEventListener(org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam,
org.apache.jetspeed.components.portletregistry.PortletRegistry registry,
String webAppDir,
String localAppDir,
boolean stripLoggers)
|
DeployPortletAppEventListener(org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam,
org.apache.jetspeed.components.portletregistry.PortletRegistry registry,
String webAppDir,
String localAppDir,
String localAppStagingDir,
boolean stripLoggers)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
webAppDir
private String webAppDir
localPAPrefixLength
private int localPAPrefixLength
localAppDir
private String localAppDir
localAppStagingDir
private String localAppStagingDir
stripLoggers
private boolean stripLoggers
pam
private org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam
DeployPortletAppEventListener
public DeployPortletAppEventListener(org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam,
org.apache.jetspeed.components.portletregistry.PortletRegistry registry,
String webAppDir,
String localAppDir,
boolean stripLoggers)
throws FileNotFoundException
- Parameters:
pam
- webAppDir
- localAppDir
- stripLoggers
-
- Throws:
FileNotFoundException
- the webAppDir
or localAppDir
directory does not
exist.
DeployPortletAppEventListener
public DeployPortletAppEventListener(org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam,
org.apache.jetspeed.components.portletregistry.PortletRegistry registry,
String webAppDir,
String localAppDir,
String localAppStagingDir,
boolean stripLoggers)
throws FileNotFoundException
- Parameters:
pam
- webAppDir
- localAppDir
- localAppStagingDir
- stripLoggers
-
- Throws:
FileNotFoundException
- the webAppDir
or localAppDir
directory does not
exist.
getWebAppDir
protected String getWebAppDir()
initialize
public void initialize()
- Specified by:
initialize
in interface org.apache.jetspeed.deployment.DeploymentEventListener
getEventParentPath
private String getEventParentPath(org.apache.jetspeed.deployment.DeploymentEvent event)
invokeDeploy
public void invokeDeploy(org.apache.jetspeed.deployment.DeploymentEvent event)
throws org.apache.jetspeed.deployment.DeploymentException
invokeDeploy
- Specified by:
invokeDeploy
in interface org.apache.jetspeed.deployment.DeploymentEventListener
- Parameters:
event
-
- Throws:
org.apache.jetspeed.deployment.DeploymentException
deployPortletApplication
protected void deployPortletApplication(org.apache.jetspeed.deployment.DeploymentEvent event)
throws org.apache.jetspeed.deployment.DeploymentException
- Throws:
org.apache.jetspeed.deployment.DeploymentException
deployLocalPortletApplication
protected void deployLocalPortletApplication(org.apache.jetspeed.deployment.DeploymentEvent event)
throws org.apache.jetspeed.deployment.DeploymentException
- Throws:
org.apache.jetspeed.deployment.DeploymentException
createLocalPAClassLoader
protected ClassLoader createLocalPAClassLoader(File paDir)
throws IOException
- Throws:
IOException
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.