org.nuxeo.theme.services
Class ThemeService
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.theme.services.ThemeService
- All Implemented Interfaces:
- java.util.EventListener, Adaptable, Component, Extensible, org.osgi.framework.FrameworkListener
public class ThemeService
- extends DefaultComponent
- implements org.osgi.framework.FrameworkListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final ComponentName ID
ThemeService
public ThemeService()
getRegistries
public java.util.Map<java.lang.String,Registrable> getRegistries()
getRegistry
public Registrable getRegistry(java.lang.String name)
addRegistry
public void addRegistry(java.lang.String name,
Registrable registry)
removeRegistry
public void removeRegistry(java.lang.String name)
activate
public void activate(ComponentContext ctx)
- Description copied from interface:
Component
- Activates the component.
This method is called by the runtime when a component is activated.
- Specified by:
activate
in interface Component
- Overrides:
activate
in class DefaultComponent
- Parameters:
ctx
- the runtime context
deactivate
public void deactivate(ComponentContext ctx)
- Description copied from interface:
Component
- Deactivates the component.
This method is called by the runtime when a component is deactivated.
- Specified by:
deactivate
in interface Component
- Overrides:
deactivate
in class DefaultComponent
- Parameters:
ctx
- the runtime context
frameworkEvent
public void frameworkEvent(org.osgi.framework.FrameworkEvent event)
- Specified by:
frameworkEvent
in interface org.osgi.framework.FrameworkListener
registerExtension
public void registerExtension(Extension extension)
- Description copied from interface:
Extensible
- Registers the given extension.
- Specified by:
registerExtension
in interface Extensible
- Overrides:
registerExtension
in class DefaultComponent
- Parameters:
extension
- the extension to register
unregisterExtension
public void unregisterExtension(Extension extension)
- Description copied from interface:
Extensible
- Unregisters the given extension.
- Specified by:
unregisterExtension
in interface Extensible
- Overrides:
unregisterExtension
in class DefaultComponent
- Parameters:
extension
- the extension to unregister
Copyright © 2010 Nuxeo SAS. All Rights Reserved.