Liferay 6.2-ce-ga5

com.liferay.portal.jsonwebservice
Class JSONWebServiceRegistrator

java.lang.Object
  extended by com.liferay.portal.jsonwebservice.JSONWebServiceRegistrator

public class JSONWebServiceRegistrator
extends Object


Constructor Summary
JSONWebServiceRegistrator()
           
JSONWebServiceRegistrator(JSONWebServiceNaming jsonWebServiceNaming)
           
 
Method Summary
protected  Class<?> getTargetClass(Object service)
           
protected  Class<?> loadUtilClass(Class<?> implementationClass)
           
protected  void onJSONWebServiceBean(String contextPath, Object serviceBean, JSONWebService jsonWebService)
           
 void processAllBeans(String contextPath, BeanLocator beanLocator)
           
 void processBean(String contextPath, BeanLocator beanLocator, String beanName)
           
 void processBean(String contextPath, Object bean)
           
protected  void registerJSONWebServiceAction(String contextPath, Object serviceBean, Class<?> serviceBeanClass, Method method)
           
 void setWireViaUtil(boolean wireViaUtil)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONWebServiceRegistrator

public JSONWebServiceRegistrator()

JSONWebServiceRegistrator

public JSONWebServiceRegistrator(JSONWebServiceNaming jsonWebServiceNaming)
Method Detail

processAllBeans

public void processAllBeans(String contextPath,
                            BeanLocator beanLocator)

processBean

public void processBean(String contextPath,
                        BeanLocator beanLocator,
                        String beanName)

processBean

public void processBean(String contextPath,
                        Object bean)

setWireViaUtil

public void setWireViaUtil(boolean wireViaUtil)

getTargetClass

protected Class<?> getTargetClass(Object service)
                           throws Exception
Throws:
Exception

loadUtilClass

protected Class<?> loadUtilClass(Class<?> implementationClass)
                          throws ClassNotFoundException
Throws:
ClassNotFoundException

onJSONWebServiceBean

protected void onJSONWebServiceBean(String contextPath,
                                    Object serviceBean,
                                    JSONWebService jsonWebService)
                             throws Exception
Throws:
Exception

registerJSONWebServiceAction

protected void registerJSONWebServiceAction(String contextPath,
                                            Object serviceBean,
                                            Class<?> serviceBeanClass,
                                            Method method)
                                     throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5