org.riotfamily.common.web.dwr
Class SpringConfigurator
java.lang.Object
org.riotfamily.common.web.dwr.SpringConfigurator
- All Implemented Interfaces:
- org.directwebremoting.extend.Configurator
public class SpringConfigurator
- extends Object
- implements org.directwebremoting.extend.Configurator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringConfigurator
public SpringConfigurator()
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