org.apache.jetspeed.deployment.impl
Class DeployDecoratorEventListener

java.lang.Object
  extended by org.apache.jetspeed.deployment.impl.DeployDecoratorEventListener
All Implemented Interfaces:
org.apache.jetspeed.deployment.DeploymentEventListener

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

DirectFolderEventListener

Version:
$Id: DeployDecoratorEventListener.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver

Field Summary
protected  String deployToDir
           
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
DeployDecoratorEventListener(String deployToDir)
           
 
Method Summary
private  String getBaseDeployPath(org.apache.commons.configuration.PropertiesConfiguration configuration)
           getBaseDeployPath
private  org.apache.commons.configuration.PropertiesConfiguration getDecoratorConfiguration(org.apache.jetspeed.deployment.DeploymentEvent event)
           getDecorationConfiguration
private  List getLocaleSpecificDeployPaths(File rootPath)
           getLocaleSpecificDeployPaths
 void initialize()
           
 void invokeDeploy(org.apache.jetspeed.deployment.DeploymentEvent event)
           invokeDeploy
 void invokeUndeploy(File deployPathFile)
           invokeUndeploy
 
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

deployToDir

protected String deployToDir
Constructor Detail

DeployDecoratorEventListener

public DeployDecoratorEventListener(String deployToDir)
                             throws FileNotFoundException
Throws:
FileNotFoundException
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
See Also:
DeploymentEventListener.invokeDeploy(org.apache.jetspeed.deployment.DeploymentEvent)

invokeUndeploy

public void invokeUndeploy(File deployPathFile)
                    throws org.apache.jetspeed.deployment.DeploymentException

invokeUndeploy

Throws:
org.apache.jetspeed.deployment.DeploymentException

getDecoratorConfiguration

private org.apache.commons.configuration.PropertiesConfiguration getDecoratorConfiguration(org.apache.jetspeed.deployment.DeploymentEvent event)
                                                                                    throws org.apache.jetspeed.deployment.DeploymentException

getDecorationConfiguration

Parameters:
event - @
Returns:
configuration
Throws:
org.apache.jetspeed.deployment.DeploymentException

getBaseDeployPath

private String getBaseDeployPath(org.apache.commons.configuration.PropertiesConfiguration configuration)

getBaseDeployPath

Parameters:
configuration -
Returns:
base deploy path

getLocaleSpecificDeployPaths

private List getLocaleSpecificDeployPaths(File rootPath)

getLocaleSpecificDeployPaths

Parameters:
rootPath -
Returns:
locale paths list


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