org.nuxeo.ecm.virtualnavigation.service
Class NavTreeService
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.virtualnavigation.service.NavTreeService
- All Implemented Interfaces:
- Adaptable, Component, Extensible
public class NavTreeService
- extends DefaultComponent
Very simple component to manage Navigation tree registration
- Author:
- Thierry Delprat, Thierry Martins
NAVTREE_EP
public static String NAVTREE_EP
NavTreeService
public NavTreeService()
getTreeDescriptors
public List<NavTreeDescriptor> getTreeDescriptors()
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
throws Exception
- Overrides:
registerContribution
in class DefaultComponent
- Throws:
Exception
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
deactivate
public void deactivate(ComponentContext context)
- 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:
context
- the runtime context
Copyright © 2011 Nuxeo SAS. All Rights Reserved.