public static LearningActivityResultLocalService getService() { if (_service == null) { Object object = PortletBeanLocatorUtil.locate( ClpSerializer.getServletContextName(), LearningActivityResultLocalService.class.getName()); ClassLoader portletClassLoader = (ClassLoader) PortletBeanLocatorUtil.locate( ClpSerializer.getServletContextName(), "portletClassLoader"); ClassLoaderProxy classLoaderProxy = new ClassLoaderProxy( object, LearningActivityResultLocalService.class.getName(), portletClassLoader); _service = new LearningActivityResultLocalServiceClp(classLoaderProxy); ClpSerializer.setClassLoader(portletClassLoader); ReferenceRegistry.registerReference(LearningActivityResultLocalServiceUtil.class, "_service"); MethodCache.remove(LearningActivityResultLocalService.class); } return _service; }
public static ProductTypeLocalService getService() { if (_service == null) { Object obj = PortletBeanLocatorUtil.locate( ClpSerializer.SERVLET_CONTEXT_NAME, ProductTypeLocalService.class.getName()); ClassLoader portletClassLoader = (ClassLoader) PortletBeanLocatorUtil.locate( ClpSerializer.SERVLET_CONTEXT_NAME, "portletClassLoader"); ClassLoaderProxy classLoaderProxy = new ClassLoaderProxy(obj, portletClassLoader); _service = new ProductTypeLocalServiceClp(classLoaderProxy); ClpSerializer.setClassLoader(portletClassLoader); } return _service; }
public static LmisWorkingCalendarsService getService() { if (_service == null) { Object obj = PortletBeanLocatorUtil.locate( ClpSerializer.SERVLET_CONTEXT_NAME, LmisWorkingCalendarsServiceUtil.class.getName()); ClassLoader portletClassLoader = (ClassLoader) PortletBeanLocatorUtil.locate( ClpSerializer.SERVLET_CONTEXT_NAME, "portletClassLoader"); ClassLoaderProxy classLoaderProxy = new ClassLoaderProxy(obj, portletClassLoader); _service = new LmisWorkingCalendarsServiceClp(classLoaderProxy); ClpSerializer.setClassLoader(portletClassLoader); } return _service; }