Liferay 7.0-ce-b4

com.liferay.portal.jsonwebservice
Class DefaultJSONWebServiceRegistrator

java.lang.Object
  extended by com.liferay.portal.jsonwebservice.DefaultJSONWebServiceRegistrator
All Implemented Interfaces:
JSONWebServiceRegistrator

public class DefaultJSONWebServiceRegistrator
extends Object
implements JSONWebServiceRegistrator


Constructor Summary
DefaultJSONWebServiceRegistrator()
           
DefaultJSONWebServiceRegistrator(JSONWebServiceNaming jsonWebServiceNaming, JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy)
           
DefaultJSONWebServiceRegistrator(JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy)
           
 
Method Summary
protected  Class<?> loadUtilClass(Class<?> implementationClass)
           
protected  void onJSONWebServiceBean(String contextName, String contextPath, Object serviceBean, JSONWebService jsonWebService)
           
 void processAllBeans(String contextName, String contextPath, BeanLocator beanLocator)
           
 void processBean(String contextName, String contextPath, BeanLocator beanLocator, String beanName)
           
 void processBean(String contextName, String contextPath, Object bean)
           
protected  void registerJSONWebServiceAction(String contextName, 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

DefaultJSONWebServiceRegistrator

public DefaultJSONWebServiceRegistrator()

DefaultJSONWebServiceRegistrator

public DefaultJSONWebServiceRegistrator(JSONWebServiceNaming jsonWebServiceNaming,
                                        JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy)

DefaultJSONWebServiceRegistrator

public DefaultJSONWebServiceRegistrator(JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy)
Method Detail

processAllBeans

public void processAllBeans(String contextName,
                            String contextPath,
                            BeanLocator beanLocator)

processBean

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

processBean

public void processBean(String contextName,
                        String contextPath,
                        Object bean)
Specified by:
processBean in interface JSONWebServiceRegistrator

setWireViaUtil

public void setWireViaUtil(boolean wireViaUtil)

loadUtilClass

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

onJSONWebServiceBean

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

registerJSONWebServiceAction

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

Liferay 7.0-ce-b4