public class DefaultJSONWebServiceRegistrator
extends Object
implements com.liferay.portal.kernel.jsonwebservice.JSONWebServiceRegistrator
Constructor and Description |
---|
DefaultJSONWebServiceRegistrator() |
DefaultJSONWebServiceRegistrator(com.liferay.portal.kernel.jsonwebservice.JSONWebServiceNaming jsonWebServiceNaming,
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy) |
DefaultJSONWebServiceRegistrator(com.liferay.portal.kernel.jsonwebservice.JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
getTargetClass(Object service) |
protected Class<?> |
loadUtilClass(Class<?> implementationClass) |
protected void |
onJSONWebServiceBean(String contextName,
String contextPath,
Object serviceBean,
com.liferay.portal.kernel.jsonwebservice.JSONWebService jsonWebService) |
void |
processAllBeans(String contextName,
String contextPath,
com.liferay.portal.kernel.bean.BeanLocator beanLocator) |
void |
processBean(String contextName,
String contextPath,
com.liferay.portal.kernel.bean.BeanLocator beanLocator,
String beanName) |
void |
processBean(String contextName,
String contextPath,
Object bean) |
void |
setWireViaUtil(boolean wireViaUtil) |
public DefaultJSONWebServiceRegistrator()
public DefaultJSONWebServiceRegistrator(com.liferay.portal.kernel.jsonwebservice.JSONWebServiceNaming jsonWebServiceNaming, com.liferay.portal.kernel.jsonwebservice.JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy)
public DefaultJSONWebServiceRegistrator(com.liferay.portal.kernel.jsonwebservice.JSONWebServiceScannerStrategy jsonWebServiceScannerStrategy)
public void processAllBeans(String contextName, String contextPath, com.liferay.portal.kernel.bean.BeanLocator beanLocator)
public void processBean(String contextName, String contextPath, com.liferay.portal.kernel.bean.BeanLocator beanLocator, String beanName)
public void processBean(String contextName, String contextPath, Object bean)
processBean
in interface com.liferay.portal.kernel.jsonwebservice.JSONWebServiceRegistrator
public void setWireViaUtil(boolean wireViaUtil)
protected Class<?> getTargetClass(Object service) throws Exception
Exception
protected Class<?> loadUtilClass(Class<?> implementationClass) throws ClassNotFoundException
ClassNotFoundException
protected void onJSONWebServiceBean(String contextName, String contextPath, Object serviceBean, com.liferay.portal.kernel.jsonwebservice.JSONWebService jsonWebService) throws Exception
Exception