public interface ReloadService extends TimestampedService
Modifier and Type | Field and Description |
---|---|
static String |
FLUSH_EVENT_ID |
static String |
FLUSH_SEAM_EVENT_ID |
static String |
RELOAD_EVENT_ID |
static String |
RELOAD_REPOSITORIES_ID |
static String |
RELOAD_SEAM_EVENT_ID |
static String |
RELOAD_TOPIC |
Modifier and Type | Method and Description |
---|---|
String |
deployBundle(File file)
Deploys bundle to the runtime, without reloading resources
|
String |
deployBundle(File file,
boolean reloadResources)
Deploys bundle to the runtime, gives possibility to control resources
reloading.
|
void |
flush()
Sends a runtime event with id
FLUSH_EVENT_ID so that listeners
can be notified that a flush is needed (after a reload for instance). |
void |
flushJaasCache()
Sends an event that can trigger reset of JaasCache
|
void |
flushSeamComponents()
Sends a runtime event with id
FLUSH_SEAM_EVENT_ID |
String |
getOSGIBundleName(File file)
Returns the OSGI bundle name if given file can be identified as an OSGI
bundle, or null.
|
void |
installWebResources(File file)
Deprecated.
since 5.6:
runDeploymentPreprocessor() method now
re-deploys all jars so that the nuxeo.war holds the same
content than it would at startup. |
Long |
lastFlushed()
Returns the last time one of the flush commands where called on this
service instance (
flush() or flushJaasCache() or
flushSeamComponents() , or null if never called |
void |
reload()
Sends a runtime event with id
RELOAD_EVENT_ID so that listeners
can be notified that a reload has been done. |
void |
reloadProperties()
Reloads runtime framework properties
|
void |
reloadRepository()
Reloads the Nuxeo repository configuration
|
void |
reloadSeamComponents()
Sends a runtime event with id
RELOAD_SEAM_EVENT_ID |
void |
runDeploymentPreprocessor()
Runs the deployment preprocessor
|
void |
undeployBundle(File file,
boolean reloadResources)
Undeploys bundle from the runtime, given the bundle resource, gives
possibility to control resources reloading
|
void |
undeployBundle(String bundleName)
Undeploys bundle from the runtime, given the bundle filename
|
getLastModified, setLastModified
static final String RELOAD_TOPIC
static final String FLUSH_EVENT_ID
static final String RELOAD_EVENT_ID
static final String FLUSH_SEAM_EVENT_ID
static final String RELOAD_SEAM_EVENT_ID
static final String RELOAD_REPOSITORIES_ID
void reload() throws Exception
RELOAD_EVENT_ID
so that listeners
can be notified that a reload has been done.
Also calls reloadProperties()
by default, but not other reload
methods as they could alter the running application behaviour.
Exception
reloadProperties()
void reloadRepository() throws Exception
Exception
void reloadProperties() throws Exception
Exception
void reloadSeamComponents() throws Exception
RELOAD_SEAM_EVENT_ID
Exception
void flush() throws Exception
FLUSH_EVENT_ID
so that listeners
can be notified that a flush is needed (after a reload for instance).
Also calls flushJaasCache()
by default, but not other flush
methods as they could alter the running application behaviour.
Exception
#flushJaasCache()}
Long lastFlushed()
flush()
or flushJaasCache()
or
flushSeamComponents()
, or null if never calledvoid flushJaasCache() throws Exception
Exception
void flushSeamComponents() throws Exception
FLUSH_SEAM_EVENT_ID
Exception
String deployBundle(File file) throws Exception
Exception
deployBundle(File, boolean)
String deployBundle(File file, boolean reloadResources) throws Exception
Exception
void undeployBundle(File file, boolean reloadResources) throws Exception
Exception
void undeployBundle(String bundleName) throws Exception
Exception
void runDeploymentPreprocessor() throws Exception
Exception
@Deprecated void installWebResources(File file) throws Exception
runDeploymentPreprocessor()
method now
re-deploys all jars so that the nuxeo.war holds the same
content than it would at startup.Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.