org.apache.jetspeed.deployment.impl
Class StandardDeploymentManager

java.lang.Object
  extended by org.apache.jetspeed.deployment.impl.StandardDeploymentManager
All Implemented Interfaces:
org.apache.jetspeed.deployment.DeploymentManager

public class StandardDeploymentManager
extends Object
implements org.apache.jetspeed.deployment.DeploymentManager

StandardDeploymentManager

Implementation of DeploymentManager

Version:
$Id: StandardDeploymentManager.java 517121 2007-03-12 07:45:49Z ate $
Author:
Scott T. Weaver

Nested Class Summary
 class StandardDeploymentManager.FileSystemScanner
           
 
Field Summary
protected  Collection deploymentListeners
           
protected  HashMap ignoredFiles
           
protected  org.apache.commons.logging.Log log
           
private static FileFilter readmeIgnoringFileFilter
           
protected  org.apache.jetspeed.components.portletregistry.PortletRegistry registry
           
protected  StandardDeploymentManager.FileSystemScanner scanner
           
protected  long scanningDelay
           
protected  String stagingDirectories
           
protected  File[] stagingDirectoriesAsFiles
           
 
Constructor Summary
StandardDeploymentManager(String stagingDirectories, long scanningDelay, Collection deploymentListeners)
           
 
Method Summary
 org.apache.jetspeed.deployment.DeploymentStatus deploy(File aFile)
           
 void dispatch(org.apache.jetspeed.deployment.DeploymentEvent event)
           dispatch
 void fireDeploymentEvent()
           
protected  File[] getAllStagedFiles()
           getAllStagedFiles
protected  boolean ignoreFile(File aFile)
           ignoreFile
 void start()
           start
 void stop()
           stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readmeIgnoringFileFilter

private static final FileFilter readmeIgnoringFileFilter

log

protected org.apache.commons.logging.Log log

scanner

protected StandardDeploymentManager.FileSystemScanner scanner

registry

protected org.apache.jetspeed.components.portletregistry.PortletRegistry registry

deploymentListeners

protected Collection deploymentListeners

scanningDelay

protected long scanningDelay

stagingDirectories

protected String stagingDirectories

stagingDirectoriesAsFiles

protected File[] stagingDirectoriesAsFiles

ignoredFiles

protected HashMap ignoredFiles
Constructor Detail

StandardDeploymentManager

public StandardDeploymentManager(String stagingDirectories,
                                 long scanningDelay,
                                 Collection deploymentListeners)
Parameters:
stagingDirectories -
scanningDelay -
deploymentListeners -
Method Detail

start

public void start()

start

See Also:
org.picocontainer.Startable#start()

stop

public void stop()

stop

See Also:
org.picocontainer.Startable#stop()

deploy

public org.apache.jetspeed.deployment.DeploymentStatus deploy(File aFile)
                                                       throws org.apache.jetspeed.deployment.DeploymentException
Specified by:
deploy in interface org.apache.jetspeed.deployment.DeploymentManager
Throws:
org.apache.jetspeed.deployment.DeploymentException

fireDeploymentEvent

public void fireDeploymentEvent()
Specified by:
fireDeploymentEvent in interface org.apache.jetspeed.deployment.DeploymentManager

dispatch

public void dispatch(org.apache.jetspeed.deployment.DeploymentEvent event)

dispatch

Specified by:
dispatch in interface org.apache.jetspeed.deployment.DeploymentManager
Parameters:
event -
See Also:
DeploymentManager.dispatch(org.apache.jetspeed.deployment.DeploymentEvent)

ignoreFile

protected boolean ignoreFile(File aFile)

ignoreFile

Parameters:
fileName -
Returns:

getAllStagedFiles

protected File[] getAllStagedFiles()

getAllStagedFiles

Returns:


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