Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.web.common.ajax.service
Class AjaxProxyComponent

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

public class AjaxProxyComponent
extends DefaultComponent
implements AjaxProxyService

Simple Runtime component to manage proxyable url configuration via Extension Points

Author:
tiry

Field Summary
static String PROXY_URL_EP
           
 
Constructor Summary
AjaxProxyComponent()
           
 
Method Summary
 ProxyURLConfigEntry computeConfigForURL(String targetUrl)
           
 ProxyURLConfigEntry getConfigForURL(String targetUrl)
           
 void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterContribution, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_URL_EP

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

AjaxProxyComponent

public AjaxProxyComponent()
Method Detail

registerContribution

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

getConfigForURL

public ProxyURLConfigEntry getConfigForURL(String targetUrl)
Specified by:
getConfigForURL in interface AjaxProxyService

computeConfigForURL

public ProxyURLConfigEntry computeConfigForURL(String targetUrl)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.