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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ListenerList
protected final FileChangeNotifier
protected final Map<String,
ConfigurationDeployer.Entry> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_deploy
(RuntimeContext ctx, URL url, File watchFile, boolean trackChanges) void
void
void
deploy
(RuntimeContext ctx, File file, boolean trackChanges) void
deploy
(RuntimeContext ctx, URL url, boolean trackChanges) void
fileChanged
(FileChangeNotifier.FileEntry entry, long now) Notifies that the given file changed.void
void
void
void
-
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:FileChangeListener
Notifies that the given file changed.- Specified by:
fileChanged
in interfaceFileChangeListener
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
-