org.apache.jetspeed.ajax
Class AJAXServiceImpl
java.lang.Object
org.apache.jetspeed.ajax.AJAXServiceImpl
- All Implemented Interfaces:
- org.apache.jetspeed.ajax.AJAXService, org.springframework.beans.factory.BeanFactoryAware
public class AJAXServiceImpl
- extends Object
- implements org.apache.jetspeed.ajax.AJAXService, org.springframework.beans.factory.BeanFactoryAware
Performs invocation of the actual AJAX request and returns
a result object to converted into XML.
- Author:
- Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceToBeans
private Map serviceToBeans
serviceToTemplates
private Map serviceToTemplates
beanFactory
private org.springframework.beans.factory.BeanFactory beanFactory
engine
private org.apache.velocity.app.VelocityEngine engine
AJAXServiceImpl
public AJAXServiceImpl(Map serviceToBeans)
AJAXServiceImpl
public AJAXServiceImpl(Map serviceToBeans,
org.apache.velocity.app.VelocityEngine engine,
Map serviceToTemplates)
processRequest
public org.apache.jetspeed.ajax.AJAXResponse processRequest(org.apache.jetspeed.ajax.AJAXRequest request)
throws org.apache.jetspeed.ajax.AJAXException
- Specified by:
processRequest
in interface org.apache.jetspeed.ajax.AJAXService
- Throws:
org.apache.jetspeed.ajax.AJAXException
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
getTypes
protected Class[] getTypes(List objects)
getValues
protected Object[] getValues(List objects)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.