public class ThemeService extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static ComponentName |
ID |
Constructor and Description |
---|
ThemeService() |
Modifier and Type | Method and Description |
---|---|
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.
|
Map<String,Registrable> |
getRegistries() |
Registrable |
getRegistry(String name) |
void |
registerExtension(Extension extension)
Registers the given extension.
|
void |
removeRegistry(String name) |
void |
unregisterExtension(Extension extension)
Unregisters the given extension.
|
getAdapter, registerContribution, unregisterContribution
public static final ComponentName ID
public Map<String,Registrable> getRegistries()
public Registrable getRegistry(String name)
public void addRegistry(String name, Registrable registry)
public void removeRegistry(String name)
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 void unregisterExtension(Extension extension)
Extensible
unregisterExtension
in interface Extensible
unregisterExtension
in class DefaultComponent
extension
- the extension to unregisterCopyright © 2011 Nuxeo SA. All Rights Reserved.