public void afterPropertiesSet() {
    Class<?> clazz = getClass();

    _classLoader = clazz.getClassLoader();

    PersistedModelLocalServiceRegistryUtil.register(
        "com.liferay.knowledgebase.model.KBTemplate", kbTemplateLocalService);
  }
  public void afterPropertiesSet() {
    Class<?> clazz = getClass();

    _classLoader = clazz.getClassLoader();

    PersistedModelLocalServiceRegistryUtil.register(
        "com.liferay.socialcoding.model.JIRAAction", jiraActionLocalService);
  }
 public void destroy() {
   PersistedModelLocalServiceRegistryUtil.unregister("com.liferay.knowledgebase.model.KBTemplate");
 }
 public void destroy() {
   PersistedModelLocalServiceRegistryUtil.unregister("com.liferay.socialcoding.model.JIRAAction");
 }