Nuxeo Enterprise Platform 5.4

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 java.lang.String PROXY_URL_EP
           
 
Constructor Summary
AjaxProxyComponent()
           
 
Method Summary
 ProxyURLConfigEntry computeConfigForURL(java.lang.String targetUrl)
           
 ProxyURLConfigEntry getConfigForURL(java.lang.String targetUrl)
           
 void registerContribution(java.lang.Object contribution, java.lang.String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, 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 java.lang.String PROXY_URL_EP
See Also:
Constant Field Values
Constructor Detail

AjaxProxyComponent

public AjaxProxyComponent()
Method Detail

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

getConfigForURL

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

computeConfigForURL

public ProxyURLConfigEntry computeConfigForURL(java.lang.String targetUrl)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.