Class JiraComponents

Object
JiraComponents
All Implemented Interfaces:
CachingComponent, DisposableBean, InitializingBean

public class JiraComponents extends Object implements DisposableBean, InitializingBean, CachingComponent
  • Constructor Details

    • JiraComponents

      public JiraComponents()
  • Method Details

    • getOSGiComponentInstanceOfType

      @Nullable public static <T> T getOSGiComponentInstanceOfType(@NotNull Class<T> intfClass)
    • getComponentOfType

      @Nullable public static <T> T getComponentOfType(@NotNull Class<T> intfClass)
    • getComponent

      @Nullable public static <T> T getComponent(@NotNull Class<T> intfClass)
    • getJiraAuthenticationContext

      public static JiraAuthenticationContext getJiraAuthenticationContext()
    • getProjectManager

      public static ProjectManager getProjectManager()
    • getProjectComponentManager

      public static ProjectComponentManager getProjectComponentManager()
    • getConstantsManager

      public static ConstantsManager getConstantsManager()
    • getVersionManager

      public static VersionManager getVersionManager()
    • getOptionsManager

      public static OptionsManager getOptionsManager()
    • getUserManager

      public static UserManager getUserManager()
    • getGroupManager

      public static GroupManager getGroupManager()
    • getUserUtil

      public static UserUtil getUserUtil()
    • getPluginAccessor

      public static PluginAccessor getPluginAccessor()
    • getPermissionManager

      public static PermissionManager getPermissionManager()
    • getApplicationProperties

      public static ApplicationProperties getApplicationProperties()
    • getIssueManager

      public static IssueManager getIssueManager()
    • getAvatarManager

      public static AvatarManager getAvatarManager()
    • getComponentClassManager

      public static ComponentClassManager getComponentClassManager()
    • getGlobalPermissionManager

      public static GlobalPermissionManager getGlobalPermissionManager()
    • afterPropertiesSet

      public final void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface InitializingBean
      Throws:
      Exception
    • destroy

      public final void destroy() throws Exception
      Specified by:
      destroy in interface DisposableBean
      Throws:
      Exception
    • clearCaches

      public void clearCaches()
      Specified by:
      clearCaches in interface CachingComponent
    • clearUserCaches

      public void clearUserCaches(@NotNull ApplicationUser user)
      Description copied from interface: CachingComponent
      Clear all cached data associated with the specified user. If the component doesn't store any data associated with user (i.e., user is not a part of a cache entry key), this method mustn't do anything. If the component cannot selectively clear entries for one user, it might clear more, but it must ensure that all related entries are cleared.
      Specified by:
      clearUserCaches in interface CachingComponent
      Parameters:
      user - the user for which to clear the cached data
    • withThreadContextClassLoaderOf

      public static <T, E extends Exception> T withThreadContextClassLoaderOf(@NotNull Object object, @NotNull CallableE<T,E> code) throws E
      Throws:
      E extends Exception