|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.DefaultComponent org.nuxeo.runtime.reload.ReloadComponent
public class ReloadComponent
Field Summary | |
---|---|
static String |
RELOAD_TOPIC
|
Constructor Summary | |
---|---|
ReloadComponent()
|
Method Summary | |
---|---|
void |
activate(ComponentContext context)
Activates the component. |
void |
addJar(File file)
Add a JAR to the application classloader - experimental. |
void |
deactivate(ComponentContext context)
Deactivates the component. |
void |
deployBundle(File file)
|
void |
deployBundle(File file,
boolean reloadResourceClassPath)
|
void |
flushJaasCache()
|
static File |
getAppDir()
|
static org.osgi.framework.Bundle |
getBundle()
|
static org.osgi.framework.BundleContext |
getBundleContext()
|
static File |
getWarDir()
|
static void |
processFragment(File file)
|
void |
reloadProperties()
|
void |
reloadRepository()
|
static void |
reloadResourceClassPath(Collection<String> files)
Rebuild the framework resource class loader and add to it the given file paths. |
void |
removeJar(File file)
Remove a JAR from the application classloader - experimental. |
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
---|
applicationStarted, getAdapter, registerContribution, registerExtension, unregisterContribution, unregisterExtension |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RELOAD_TOPIC
Constructor Detail |
---|
public ReloadComponent()
Method Detail |
---|
public static org.osgi.framework.BundleContext getBundleContext()
public static org.osgi.framework.Bundle getBundle()
public void activate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime context
Exception
- if an error occurs during activationpublic void deactivate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime context
Exception
- if an error occurs during activationpublic void flushJaasCache() throws Exception
flushJaasCache
in interface ReloadService
Exception
public void reloadRepository() throws Exception
reloadRepository
in interface ReloadService
Exception
public void addJar(File file) throws Exception
addJar
in interface ReloadService
Exception
public void removeJar(File file) throws Exception
removeJar
in interface ReloadService
Exception
public void deployBundle(File file, boolean reloadResourceClassPath) throws Exception
Exception
public void deployBundle(File file) throws Exception
deployBundle
in interface ReloadService
Exception
public void reloadProperties() throws Exception
reloadProperties
in interface ReloadService
Exception
public static void reloadResourceClassPath(Collection<String> files) throws Exception
The already added paths are removed from the class loader.
Exception
public static void processFragment(File file) throws Exception
Exception
public static File getAppDir()
public static File getWarDir()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |