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 void setService(KaleoTaskFormLocalService service) {
    MethodCache.remove(KaleoTaskFormLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(KaleoTaskFormLocalServiceUtil.class, "_service");
    MethodCache.remove(KaleoTaskFormLocalService.class);
  }
  public void setService(JournalArticleImageLocalService service) {
    MethodCache.remove(JournalArticleImageLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(JournalArticleImageLocalServiceUtil.class, "_service");
    MethodCache.remove(JournalArticleImageLocalService.class);
  }
  public void setService(ShoppingItemFieldLocalService service) {
    MethodCache.remove(ShoppingItemFieldLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(ShoppingItemFieldLocalServiceUtil.class, "_service");
    MethodCache.remove(ShoppingItemFieldLocalService.class);
  }
  public void setService(LearningActivityResultLocalService service) {
    MethodCache.remove(LearningActivityResultLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(LearningActivityResultLocalServiceUtil.class, "_service");
    MethodCache.remove(LearningActivityResultLocalService.class);
  }
  public void setService(ExpandoTableLocalService service) {
    MethodCache.remove(ExpandoTableLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(ExpandoTableLocalServiceUtil.class, "_service");
    MethodCache.remove(ExpandoTableLocalService.class);
  }
  public void setService(TrinhDoChuyenMonLocalService service) {
    MethodCache.remove(TrinhDoChuyenMonLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(TrinhDoChuyenMonLocalServiceUtil.class, "_service");
    MethodCache.remove(TrinhDoChuyenMonLocalService.class);
  }
  public void setService(WikiPageResourceLocalService service) {
    MethodCache.remove(WikiPageResourceLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(WikiPageResourceLocalServiceUtil.class, "_service");
    MethodCache.remove(WikiPageResourceLocalService.class);
  }
  public void setService(AnnouncementsEntryService service) {
    MethodCache.remove(AnnouncementsEntryService.class);

    _service = service;

    ReferenceRegistry.registerReference(AnnouncementsEntryServiceUtil.class, "_service");
    MethodCache.remove(AnnouncementsEntryService.class);
  }
  public void setService(JIRAChangeItemLocalService service) {
    MethodCache.remove(JIRAChangeItemLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(JIRAChangeItemLocalServiceUtil.class, "_service");
    MethodCache.remove(JIRAChangeItemLocalService.class);
  }
  public void setService(SocialRelationLocalService service) {
    MethodCache.remove(SocialRelationLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(SocialRelationLocalServiceUtil.class, "_service");
    MethodCache.remove(SocialRelationLocalService.class);
  }
Exemplo n.º 12
0
  public void setService(dmcongviecService service) {
    MethodCache.remove(dmcongviecService.class);

    _service = service;

    ReferenceRegistry.registerReference(dmcongviecServiceUtil.class, "_service");
    MethodCache.remove(dmcongviecService.class);
  }
  public void setService(DDMTemplateService service) {
    MethodCache.remove(DDMTemplateService.class);

    _service = service;

    ReferenceRegistry.registerReference(DDMTemplateServiceUtil.class, "_service");
    MethodCache.remove(DDMTemplateService.class);
  }
  public void setService(PasswordPolicyService service) {
    MethodCache.remove(PasswordPolicyService.class);

    _service = service;

    ReferenceRegistry.registerReference(PasswordPolicyServiceUtil.class, "_service");
    MethodCache.remove(PasswordPolicyService.class);
  }
  public void setService(DLFileEntryLocalService service) {
    MethodCache.remove(DLFileEntryLocalService.class);

    _service = service;

    ReferenceRegistry.registerReference(DLFileEntryLocalServiceUtil.class, "_service");
    MethodCache.remove(DLFileEntryLocalService.class);
  }
  public void setService(LayoutSetBranchService service) {
    MethodCache.remove(LayoutSetBranchService.class);

    _service = service;

    ReferenceRegistry.registerReference(LayoutSetBranchServiceUtil.class, "_service");
    MethodCache.remove(LayoutSetBranchService.class);
  }
  public static MBMessageFinder getFinder() {
    if (_finder == null) {
      _finder = (MBMessageFinder) PortalBeanLocatorUtil.locate(MBMessageFinder.class.getName());

      ReferenceRegistry.registerReference(MBMessageFinderUtil.class, "_finder");
    }

    return _finder;
  }
  public static ClassNameService getService() {
    if (_service == null) {
      _service = (ClassNameService) PortalBeanLocatorUtil.locate(ClassNameService.class.getName());

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

    return _service;
  }
Exemplo n.º 19
0
  public static PortalService getService() {
    if (_service == null) {
      _service = (PortalService) PortalBeanLocatorUtil.locate(PortalService.class.getName());

      ReferenceRegistry.registerReference(PortalServiceUtil.class, "_service");
      MethodCache.remove(PortalService.class);
    }

    return _service;
  }
Exemplo n.º 20
0
  public static ReleasePersistence getPersistence() {
    if (_persistence == null) {
      _persistence =
          (ReleasePersistence) PortalBeanLocatorUtil.locate(ReleasePersistence.class.getName());

      ReferenceRegistry.registerReference(ReleaseUtil.class, "_persistence");
    }

    return _persistence;
  }
  public static SocialActivitySetFinder getFinder() {
    if (_finder == null) {
      _finder =
          (SocialActivitySetFinder)
              PortalBeanLocatorUtil.locate(SocialActivitySetFinder.class.getName());

      ReferenceRegistry.registerReference(SocialActivitySetFinderUtil.class, "_finder");
    }

    return _finder;
  }
Exemplo n.º 22
0
  public static PasswordPolicyPersistence getPersistence() {
    if (_persistence == null) {
      _persistence =
          (PasswordPolicyPersistence)
              PortalBeanLocatorUtil.locate(PasswordPolicyPersistence.class.getName());

      ReferenceRegistry.registerReference(PasswordPolicyUtil.class, "_persistence");
    }

    return _persistence;
  }
  public static DDMStorageLinkPersistence getPersistence() {
    if (_persistence == null) {
      _persistence =
          (DDMStorageLinkPersistence)
              PortalBeanLocatorUtil.locate(DDMStorageLinkPersistence.class.getName());

      ReferenceRegistry.registerReference(DDMStorageLinkUtil.class, "_persistence");
    }

    return _persistence;
  }
  public static BrowserTrackerPersistence getPersistence() {
    if (_persistence == null) {
      _persistence =
          (BrowserTrackerPersistence)
              PortalBeanLocatorUtil.locate(BrowserTrackerPersistence.class.getName());

      ReferenceRegistry.registerReference(BrowserTrackerUtil.class, "_persistence");
    }

    return _persistence;
  }
  public static ServiceComponentPersistence getPersistence() {
    if (_persistence == null) {
      _persistence =
          (ServiceComponentPersistence)
              PortalBeanLocatorUtil.locate(ServiceComponentPersistence.class.getName());

      ReferenceRegistry.registerReference(ServiceComponentUtil.class, "_persistence");
    }

    return _persistence;
  }
  public static ResourcePermissionFinder getFinder() {
    if (_finder == null) {
      _finder =
          (ResourcePermissionFinder)
              PortalBeanLocatorUtil.locate(ResourcePermissionFinder.class.getName());

      ReferenceRegistry.registerReference(ResourcePermissionFinderUtil.class, "_finder");
    }

    return _finder;
  }
  public static SocialActivitySetLocalService getService() {
    if (_service == null) {
      _service =
          (SocialActivitySetLocalService)
              PortalBeanLocatorUtil.locate(SocialActivitySetLocalService.class.getName());

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

    return _service;
  }
  public static ShoppingCategoryPersistence getPersistence() {
    if (_persistence == null) {
      _persistence =
          (ShoppingCategoryPersistence)
              PortalBeanLocatorUtil.locate(ShoppingCategoryPersistence.class.getName());

      ReferenceRegistry.registerReference(ShoppingCategoryUtil.class, "_persistence");
    }

    return _persistence;
  }
  public static AnnouncementsEntryLocalService getService() {
    if (_service == null) {
      _service =
          (AnnouncementsEntryLocalService)
              PortalBeanLocatorUtil.locate(AnnouncementsEntryLocalService.class.getName());

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

    return _service;
  }
  public static LayoutBranchPersistence getPersistence() {
    if (_persistence == null) {
      _persistence =
          (LayoutBranchPersistence)
              PortalBeanLocatorUtil.locate(LayoutBranchPersistence.class.getName());

      ReferenceRegistry.registerReference(LayoutBranchUtil.class, "_persistence");
    }

    return _persistence;
  }