org.apache.jetspeed.deployment.impl
Class DeployPortletAppEventListener

java.lang.Object
  extended byorg.apache.jetspeed.deployment.impl.DeployPortletAppEventListener
All Implemented Interfaces:
org.apache.jetspeed.deployment.DeploymentEventListener

public class DeployPortletAppEventListener
extends Object
implements org.apache.jetspeed.deployment.DeploymentEventListener

DeployportletAppEventListener

Version:
$Id: DeployPortletAppEventListener.java 188608 2005-05-24 18:54:01Z ate $
Author:
Scott T. Weaver

Field Summary
private  String localAppDir
           
protected static org.apache.commons.logging.Log log
           
private  org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam
           
private  org.apache.jetspeed.components.portletregistry.PortletRegistry registry
           
private  boolean stripLoggers
           
private  String webAppDir
           
 
Constructor Summary
DeployPortletAppEventListener(org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam, org.apache.jetspeed.components.portletregistry.PortletRegistry registry, String webAppDir, String localAppDir, boolean stripLoggers)
           
 
Method Summary
protected  ClassLoader createLocalPAClassLoader(File paDir)
           
protected  void deployLocalPortletApplication(org.apache.jetspeed.deployment.DeploymentEvent event)
           
protected  void deployPortletApplication(org.apache.jetspeed.deployment.DeploymentEvent event)
           
 void initialize()
           
 void invokeDeploy(org.apache.jetspeed.deployment.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

webAppDir

private String webAppDir

localAppDir

private String localAppDir

stripLoggers

private boolean stripLoggers

pam

private org.apache.jetspeed.tools.pamanager.PortletApplicationManagement pam

registry

private org.apache.jetspeed.components.portletregistry.PortletRegistry registry
Constructor Detail

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 -
Throws:
FileNotFoundException - the webAppDir or localAppDir directory does not exist.
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface org.apache.jetspeed.deployment.DeploymentEventListener

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-2005 Apache Software Foundation. All Rights Reserved.