org.riotfamily.common.web.dwr
Class SpringConfigurator

java.lang.Object
  extended by org.riotfamily.common.web.dwr.SpringConfigurator
All Implemented Interfaces:
org.directwebremoting.extend.Configurator

public class SpringConfigurator
extends Object
implements org.directwebremoting.extend.Configurator


Constructor Summary
SpringConfigurator()
           
 
Method Summary
 void configure(org.directwebremoting.Container container)
           
 void setConverters(Map<String,org.directwebremoting.extend.Converter> converters)
           
 void setConverterTypes(Properties converterTypes)
           
 void setServiceBeans(Map<String,Object> serviceBeans)
          Sets a map of beans to be exported keyed by their script name.
 void setServiceInterfaces(Class<?>[] serviceInterfaces)
          Sets the interfaces to be exported.
 void setSignatures(String signatures)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringConfigurator

public SpringConfigurator()
Method Detail

setServiceBeans

public void setServiceBeans(Map<String,Object> serviceBeans)
Sets a map of beans to be exported keyed by their script name.

Parameters:
serviceBeans - Map of beans to export

setServiceInterfaces

public void setServiceInterfaces(Class<?>[] serviceInterfaces)
Sets the interfaces to be exported. This is a convenient way to control which methods should be exposed to the client. This is especially useful when your service beans are AOP proxies. If no interfaces are configured only the default access rules apply.

Parameters:
serviceInterfaces - Interfaces to export

setConverters

public void setConverters(Map<String,org.directwebremoting.extend.Converter> converters)

setConverterTypes

public void setConverterTypes(Properties converterTypes)

setSignatures

public void setSignatures(String signatures)

configure

public void configure(org.directwebremoting.Container container)
Specified by:
configure in interface org.directwebremoting.extend.Configurator