org.apache.jetspeed.deployment.impl
Class DeployPortletAppEventListener

java.lang.Object
  extended by org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener
All Implemented Interfaces:
DeploymentEventListener
Direct Known Subclasses:
JettyDeployPortletAppEventListener

public class DeployPortletAppEventListener
extends java.lang.Object
implements DeploymentEventListener

DeployportletAppEventListener

Version:
$Id: DeployPortletAppEventListener.java 548891 2007-06-20 02:24:37Z ate $
Author:
Scott T. Weaver

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
DeployPortletAppEventListener(PortletApplicationManagement pam, PortletRegistry registry, java.lang.String webAppDir, java.lang.String localAppDir, boolean stripLoggers)
           
DeployPortletAppEventListener(PortletApplicationManagement pam, PortletRegistry registry, java.lang.String webAppDir, java.lang.String localAppDir, java.lang.String localAppStagingDir, boolean stripLoggers)
           
 
Method Summary
protected  java.lang.ClassLoader createLocalPAClassLoader(java.io.File paDir)
           
protected  void deployLocalPortletApplication(DeploymentEvent event)
           
protected  void deployPortletApplication(DeploymentEvent event)
           
protected  java.lang.String getWebAppDir()
           
 void initialize()
           
 void invokeDeploy(DeploymentEvent event)
           invokeDeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

DeployPortletAppEventListener

public DeployPortletAppEventListener(PortletApplicationManagement pam,
                                     PortletRegistry registry,
                                     java.lang.String webAppDir,
                                     java.lang.String localAppDir,
                                     boolean stripLoggers)
                              throws java.io.FileNotFoundException
Parameters:
pam -
webAppDir -
localAppDir -
stripLoggers -
Throws:
java.io.FileNotFoundException - the webAppDir or localAppDir directory does not exist.

DeployPortletAppEventListener

public DeployPortletAppEventListener(PortletApplicationManagement pam,
                                     PortletRegistry registry,
                                     java.lang.String webAppDir,
                                     java.lang.String localAppDir,
                                     java.lang.String localAppStagingDir,
                                     boolean stripLoggers)
                              throws java.io.FileNotFoundException
Parameters:
pam -
webAppDir -
localAppDir -
localAppStagingDir -
stripLoggers -
Throws:
java.io.FileNotFoundException - the webAppDir or localAppDir directory does not exist.
Method Detail

getWebAppDir

protected java.lang.String getWebAppDir()

initialize

public void initialize()
Specified by:
initialize in interface DeploymentEventListener

invokeDeploy

public void invokeDeploy(DeploymentEvent event)
                  throws DeploymentException

invokeDeploy

Specified by:
invokeDeploy in interface DeploymentEventListener
Parameters:
event -
Throws:
DeploymentException

deployPortletApplication

protected void deployPortletApplication(DeploymentEvent event)
                                 throws DeploymentException
Throws:
DeploymentException

deployLocalPortletApplication

protected void deployLocalPortletApplication(DeploymentEvent event)
                                      throws DeploymentException
Throws:
DeploymentException

createLocalPAClassLoader

protected java.lang.ClassLoader createLocalPAClassLoader(java.io.File paDir)
                                                  throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.