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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAVTREE_EP
public static java.lang.String NAVTREE_EP
NavTreeService
public NavTreeService()
getTreeDescriptors
public java.util.List<NavTreeDescriptor> getTreeDescriptors()
registerContribution
public void registerContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
throws java.lang.Exception
- Overrides:
registerContribution
in class DefaultComponent
- Throws:
java.lang.Exception
activate
public void activate(ComponentContext context)
throws java.lang.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:
java.lang.Exception
- if an error occurs during activation
Copyright © 2010 Nuxeo SAS. All Rights Reserved.