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;
  }
示例#2
0
  public static transactionsService getService() {
    if (_service == null) {
      InvokableService invokableService =
          (InvokableService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(), transactionsService.class.getName());

      if (invokableService instanceof transactionsService) {
        _service = (transactionsService) invokableService;
      } else {
        _service = new transactionsServiceClp(invokableService);
      }

      ReferenceRegistry.registerReference(transactionsServiceUtil.class, "_service");
    }

    return _service;
  }
  public static MemberRequestLocalService getService() {
    if (_service == null) {
      InvokableLocalService invokableLocalService =
          (InvokableLocalService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(), MemberRequestLocalService.class.getName());

      if (invokableLocalService instanceof MemberRequestLocalService) {
        _service = (MemberRequestLocalService) invokableLocalService;
      } else {
        _service = new MemberRequestLocalServiceClp(invokableLocalService);
      }

      ReferenceRegistry.registerReference(MemberRequestLocalServiceUtil.class, "_service");
    }

    return _service;
  }
  public static LinkScannerURLStatusService getService() {
    if (_service == null) {
      InvokableService invokableService =
          (InvokableService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(),
                  LinkScannerURLStatusService.class.getName());

      if (invokableService instanceof LinkScannerURLStatusService) {
        _service = (LinkScannerURLStatusService) invokableService;
      } else {
        _service = new LinkScannerURLStatusServiceClp(invokableService);
      }

      ReferenceRegistry.registerReference(LinkScannerURLStatusServiceUtil.class, "_service");
    }

    return _service;
  }
  public static TimesheetTaskSegmentService getService() {
    if (_service == null) {
      InvokableService invokableService =
          (InvokableService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(),
                  TimesheetTaskSegmentService.class.getName());

      if (invokableService instanceof TimesheetTaskSegmentService) {
        _service = (TimesheetTaskSegmentService) invokableService;
      } else {
        _service = new TimesheetTaskSegmentServiceClp(invokableService);
      }

      ReferenceRegistry.registerReference(TimesheetTaskSegmentServiceUtil.class, "_service");
    }

    return _service;
  }
  public static assessment_lang_lkpLocalService getService() {
    if (_service == null) {
      InvokableLocalService invokableLocalService =
          (InvokableLocalService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(),
                  assessment_lang_lkpLocalService.class.getName());

      if (invokableLocalService instanceof assessment_lang_lkpLocalService) {
        _service = (assessment_lang_lkpLocalService) invokableLocalService;
      } else {
        _service = new assessment_lang_lkpLocalServiceClp(invokableLocalService);
      }

      ReferenceRegistry.registerReference(assessment_lang_lkpLocalServiceUtil.class, "_service");
    }

    return _service;
  }
  public static DossierProcBookmarkService getService() {
    if (_service == null) {
      InvokableService invokableService =
          (InvokableService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(),
                  DossierProcBookmarkService.class.getName());

      if (invokableService instanceof DossierProcBookmarkService) {
        _service = (DossierProcBookmarkService) invokableService;
      } else {
        _service = new DossierProcBookmarkServiceClp(invokableService);
      }

      ReferenceRegistry.registerReference(DossierProcBookmarkServiceUtil.class, "_service");
    }

    return _service;
  }
  public static LeaveCarryForwardPolicyLocalService getService() {
    if (_service == null) {
      InvokableLocalService invokableLocalService =
          (InvokableLocalService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(),
                  LeaveCarryForwardPolicyLocalService.class.getName());

      if (invokableLocalService instanceof LeaveCarryForwardPolicyLocalService) {
        _service = (LeaveCarryForwardPolicyLocalService) invokableLocalService;
      } else {
        _service = new LeaveCarryForwardPolicyLocalServiceClp(invokableLocalService);
      }

      ReferenceRegistry.registerReference(
          LeaveCarryForwardPolicyLocalServiceUtil.class, "_service");
    }

    return _service;
  }
  public static LFTincanClientApiStorageLocalService getService() {
    if (_service == null) {
      InvokableLocalService invokableLocalService =
          (InvokableLocalService)
              PortletBeanLocatorUtil.locate(
                  ClpSerializer.getServletContextName(),
                  LFTincanClientApiStorageLocalService.class.getName());

      if (invokableLocalService instanceof LFTincanClientApiStorageLocalService) {
        _service = (LFTincanClientApiStorageLocalService) invokableLocalService;
      } else {
        _service = new LFTincanClientApiStorageLocalServiceClp(invokableLocalService);
      }

      ReferenceRegistry.registerReference(
          LFTincanClientApiStorageLocalServiceUtil.class, "_service");
    }

    return _service;
  }