org.nuxeo.ecm.webengine.jaxrs.servlet.config
Class ServletRegistryComponent
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.webengine.jaxrs.servlet.config.ServletRegistryComponent
- All Implemented Interfaces:
- Adaptable, Component, Extensible
public class ServletRegistryComponent
- extends DefaultComponent
- Author:
- Bogdan Stefanescu
XP_SERVLETS
public static final String XP_SERVLETS
- See Also:
- Constant Field Values
XP_FILTERS
public static final String XP_FILTERS
- See Also:
- Constant Field Values
XP_RESOURCES
public static final String XP_RESOURCES
- See Also:
- Constant Field Values
XP_SUBRESOURCES
public static final String XP_SUBRESOURCES
- See Also:
- Constant Field Values
ServletRegistryComponent
public ServletRegistryComponent()
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)
throws Exception
- 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
- 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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.