|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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.theme.services.ThemeService
public class ThemeService
Field Summary | |
---|---|
static ComponentName |
ID
|
Constructor Summary | |
---|---|
ThemeService()
|
Method Summary | |
---|---|
void |
activate(ComponentContext ctx)
Activates the component. |
void |
addRegistry(String name,
Registrable registry)
|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles. |
void |
deactivate(ComponentContext ctx)
Deactivates the component. |
boolean |
doRegisterExtension(Extension extension)
|
boolean |
doUnregisterExtension(Extension extension)
|
Map<String,Registrable> |
getRegistries()
|
Registrable |
getRegistry(String name)
|
void |
registerExtension(Extension extension)
Registers the given extension. |
void |
reload(ComponentContext context)
Reload the component registries and services. |
void |
removeRegistry(String name)
|
void |
unregisterExtension(Extension extension)
Unregisters the given extension. |
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
---|
getAdapter, registerContribution, unregisterContribution |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ComponentName ID
Constructor Detail |
---|
public ThemeService()
Method Detail |
---|
public Map<String,Registrable> getRegistries()
public Registrable getRegistry(String name)
public void addRegistry(String name, Registrable registry)
public void removeRegistry(String name)
public void reload(ComponentContext context) throws Exception
Reloadable
reload
in interface Reloadable
Exception
public void activate(ComponentContext ctx)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
ctx
- the runtime contextpublic void deactivate(ComponentContext ctx)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
ctx
- the runtime contextpublic void applicationStarted(ComponentContext context) throws Exception
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
Exception
public void registerExtension(Extension extension)
Extensible
registerExtension
in interface Extensible
registerExtension
in class DefaultComponent
extension
- the extension to registerpublic boolean doRegisterExtension(Extension extension)
public void unregisterExtension(Extension extension)
Extensible
unregisterExtension
in interface Extensible
unregisterExtension
in class DefaultComponent
extension
- the extension to unregisterpublic boolean doUnregisterExtension(Extension extension)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |