Nuxeo Enterprise Platform 5.4

org.nuxeo.theme.services
Class ThemeService

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.theme.services.ThemeService
All Implemented Interfaces:
Adaptable, Component, Extensible, Reloadable

public class ThemeService
extends DefaultComponent
implements Reloadable


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

ID

public static final ComponentName ID
Constructor Detail

ThemeService

public ThemeService()
Method Detail

getRegistries

public Map<String,Registrable> getRegistries()

getRegistry

public Registrable getRegistry(String name)

addRegistry

public void addRegistry(String name,
                        Registrable registry)

removeRegistry

public void removeRegistry(String name)

reload

public void reload(ComponentContext context)
            throws Exception
Description copied from interface: Reloadable
Reload the component registries and services.

Specified by:
reload in interface Reloadable
Throws:
Exception

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

applicationStarted

public void applicationStarted(ComponentContext context)
                        throws Exception
Description copied from interface: Component
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.

Specified by:
applicationStarted in interface Component
Overrides:
applicationStarted in class DefaultComponent
Throws:
Exception

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

doRegisterExtension

public boolean doRegisterExtension(Extension extension)

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

doUnregisterExtension

public boolean doUnregisterExtension(Extension extension)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.