Package org.nuxeo.runtime.deploy
Class ConfigurationDeployer
java.lang.Object
org.nuxeo.runtime.deploy.ConfigurationDeployer
- All Implemented Interfaces:
FileChangeListener
- Author:
- Bogdan Stefanescu
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ListenerListprotected final FileChangeNotifierprotected final Map<String, ConfigurationDeployer.Entry> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_deploy(RuntimeContext ctx, URL url, File watchFile, boolean trackChanges) voidvoidvoiddeploy(RuntimeContext ctx, File file, boolean trackChanges) voiddeploy(RuntimeContext ctx, URL url, boolean trackChanges) voidfileChanged(FileChangeNotifier.FileEntry entry, long now) Notifies that the given file changed.voidvoidvoidvoid
-
Field Details
-
urls
-
notifier
-
listeners
-
-
Constructor Details
-
ConfigurationDeployer
public ConfigurationDeployer() -
ConfigurationDeployer
-
-
Method Details
-
deploy
- Throws:
IOException
-
undeploy
- Throws:
IOException
-
_undeploy
- Throws:
IOException
-
deploy
- Throws:
IOException
-
undeploy
- Throws:
IOException
-
_deploy
protected void _deploy(RuntimeContext ctx, URL url, File watchFile, boolean trackChanges) throws IOException - Throws:
IOException
-
fileChanged
Description copied from interface:FileChangeListenerNotifies that the given file changed.- Specified by:
fileChangedin interfaceFileChangeListener- Parameters:
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
-
addConfigurationChangedListener
-
removeConfigurationChangedListener
-
fireConfigurationChanged
-