org.apache.lenya.cms.linking.impl
Class GlobalProxiesImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.cms.linking.impl.GlobalProxiesImpl
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, GlobalProxies

public class GlobalProxiesImpl
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements GlobalProxies, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.configuration.Configurable

GlobalProxy service implementation. The class is implemented as a singleton.


Field Summary
 
Fields inherited from interface org.apache.lenya.cms.linking.GlobalProxies
ROLE
 
Constructor Summary
GlobalProxiesImpl()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration config)
           
 org.apache.lenya.cms.publication.Proxy getProxy(boolean ssl)
           
protected  org.apache.lenya.cms.publication.Proxy initializeProxy(java.lang.Object key)
           
 void service(org.apache.avalon.framework.service.ServiceManager manager)
           
 void setProxy(boolean ssl, org.apache.lenya.cms.publication.Proxy proxy)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalProxiesImpl

public GlobalProxiesImpl()
Method Detail

getProxy

public org.apache.lenya.cms.publication.Proxy getProxy(boolean ssl)
Specified by:
getProxy in interface GlobalProxies
Parameters:
ssl - If SSL is used.
Returns:
A proxy.

initializeProxy

protected org.apache.lenya.cms.publication.Proxy initializeProxy(java.lang.Object key)

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException

configure

public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

setProxy

public void setProxy(boolean ssl,
                     org.apache.lenya.cms.publication.Proxy proxy)
Parameters:
ssl - If the proxy is responsible for SSL requests.
proxy - A proxy.


Copyright © $ Apache Software Foundation. All Rights Reserved.