Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.web.common.requestcontroller.service
Class RequestControllerService

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService
All Implemented Interfaces:
RequestControllerManager, Adaptable, Component, Extensible

public class RequestControllerService
extends DefaultComponent
implements RequestControllerManager

Runtime component that implements the RequestControllerManager interface. Contains both the Extension point logic and the service implementation.

Author:
tiry

Field Summary
static String FILTER_CONFIG_EP
           
 
Constructor Summary
RequestControllerService()
           
 
Method Summary
 RequestFilterConfig computeConfigForRequest(String uri)
           
 RequestFilterConfig getConfigForRequest(HttpServletRequest request)
           
 void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 void registerFilterConfig(FilterConfigDescriptor desc)
           
 void registerFilterConfig(String name, String pattern, boolean grant, boolean tx, boolean sync, boolean cached, boolean isPrivate, String cacheTime)
           
 void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_CONFIG_EP

public static final String FILTER_CONFIG_EP
See Also:
Constant Field Values
Constructor Detail

RequestControllerService

public RequestControllerService()
Method Detail

registerContribution

public void registerContribution(Object contribution,
                                 String extensionPoint,
                                 ComponentInstance contributor)
                          throws Exception
Overrides:
registerContribution in class DefaultComponent
Throws:
Exception

registerFilterConfig

public void registerFilterConfig(String name,
                                 String pattern,
                                 boolean grant,
                                 boolean tx,
                                 boolean sync,
                                 boolean cached,
                                 boolean isPrivate,
                                 String cacheTime)

registerFilterConfig

public void registerFilterConfig(FilterConfigDescriptor desc)

unregisterContribution

public void unregisterContribution(Object contribution,
                                   String extensionPoint,
                                   ComponentInstance contributor)
                            throws Exception
Overrides:
unregisterContribution in class DefaultComponent
Throws:
Exception

getConfigForRequest

public RequestFilterConfig getConfigForRequest(HttpServletRequest request)
Specified by:
getConfigForRequest in interface RequestControllerManager

computeConfigForRequest

public RequestFilterConfig computeConfigForRequest(String uri)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.