org.nuxeo.runtime.deploy
Class ConfigurationDeployer
java.lang.Object
org.nuxeo.runtime.deploy.ConfigurationDeployer
- All Implemented Interfaces:
- FileChangeListener
public class ConfigurationDeployer
- extends java.lang.Object
- implements FileChangeListener
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationDeployer
public ConfigurationDeployer()
ConfigurationDeployer
public ConfigurationDeployer(FileChangeNotifier notifier)
deploy
public void deploy(RuntimeContext ctx,
java.net.URL url,
boolean trackChanges)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
public void undeploy(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
_undeploy
public void _undeploy(ConfigurationDeployer.Entry entry)
throws java.lang.Exception
- Throws:
java.lang.Exception
deploy
public void deploy(RuntimeContext ctx,
java.io.File file,
boolean trackChanges)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
public void undeploy(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
fileChanged
public void fileChanged(FileChangeNotifier.FileEntry entry,
long now)
throws java.lang.Exception
- Description copied from interface:
FileChangeListener
- Notifies that the given file changed.
- Specified by:
fileChanged
in interface FileChangeListener
now
- the time stamp when the change was detected.
This value can be used as a notification ID by listeners to avoid
multiple processing for notification that will send multiple events
- Throws:
java.lang.Exception
addConfigurationChangedListener
public void addConfigurationChangedListener(ConfigurationChangedListener listener)
removeConfigurationChangedListener
public void removeConfigurationChangedListener(ConfigurationChangedListener listener)
fireConfigurationChanged
public void fireConfigurationChanged(ConfigurationDeployer.Entry entry)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.