org.nuxeo.theme.styling.service
Class ThemeStylingServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.theme.styling.service.ThemeStylingServiceImpl
- All Implemented Interfaces:
- Adaptable, Component, Extensible, ThemeStylingService
public class ThemeStylingServiceImpl
- extends DefaultComponent
- implements ThemeStylingService
Default implementation for the ThemeStylingService
- Since:
- 5.4.3
ThemeStylingServiceImpl
public ThemeStylingServiceImpl()
activate
public void activate(ComponentContext context)
throws Exception
- 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:
context
- the runtime context
- Throws:
Exception
- if an error occurs during activation
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
throws Exception
- Overrides:
registerContribution
in class DefaultComponent
- Throws:
Exception
unregisterContribution
public void unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
throws Exception
- Overrides:
unregisterContribution
in class DefaultComponent
- Throws:
Exception
getDefaultFlavor
public String getDefaultFlavor(String themePageName)
- Description copied from interface:
ThemeStylingService
- Returns the default flavor for a given theme page
- Specified by:
getDefaultFlavor
in interface ThemeStylingService
themeRegistered
public void themeRegistered(String themeName)
- Description copied from interface:
ThemeStylingService
- Hook to notify the service that a theme has been registered
- Specified by:
themeRegistered
in interface ThemeStylingService
Copyright © 2011 Nuxeo SAS. All Rights Reserved.