public class JiraComponents extends Object implements DisposableBean, InitializingBean, CachingComponent
Constructor and Description |
---|
JiraComponents() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
clearCaches() |
void |
clearUserCaches(ApplicationUser user)
Clear all cached data associated with the specified user.
|
void |
destroy() |
static ApplicationProperties |
getApplicationProperties() |
static AvatarManager |
getAvatarManager() |
static <T> T |
getComponent(Class<T> intfClass) |
static ComponentClassManager |
getComponentClassManager() |
static <T> T |
getComponentOfType(Class<T> intfClass) |
static ConstantsManager |
getConstantsManager() |
static GlobalPermissionManager |
getGlobalPermissionManager() |
static GroupManager |
getGroupManager() |
static IssueManager |
getIssueManager() |
static JiraAuthenticationContext |
getJiraAuthenticationContext() |
static OptionsManager |
getOptionsManager() |
static <T> T |
getOSGiComponentInstanceOfType(Class<T> intfClass) |
static PermissionManager |
getPermissionManager() |
static PluginAccessor |
getPluginAccessor() |
static ProjectComponentManager |
getProjectComponentManager() |
static ProjectManager |
getProjectManager() |
static UserManager |
getUserManager() |
static UserUtil |
getUserUtil() |
static VersionManager |
getVersionManager() |
static <T,E extends Exception> |
withThreadContextClassLoaderOf(Object object,
CallableE<T,E> code) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearUserCaches
@Nullable public static <T> T getOSGiComponentInstanceOfType(@NotNull Class<T> intfClass)
@Nullable public static <T> T getComponentOfType(@NotNull Class<T> intfClass)
@Nullable public static <T> T getComponent(@NotNull Class<T> intfClass)
public static JiraAuthenticationContext getJiraAuthenticationContext()
public static ProjectManager getProjectManager()
public static ProjectComponentManager getProjectComponentManager()
public static ConstantsManager getConstantsManager()
public static VersionManager getVersionManager()
public static OptionsManager getOptionsManager()
public static UserManager getUserManager()
public static GroupManager getGroupManager()
public static UserUtil getUserUtil()
public static PluginAccessor getPluginAccessor()
public static PermissionManager getPermissionManager()
public static ApplicationProperties getApplicationProperties()
public static IssueManager getIssueManager()
public static AvatarManager getAvatarManager()
public static ComponentClassManager getComponentClassManager()
public static GlobalPermissionManager getGlobalPermissionManager()
public final void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public final void destroy() throws Exception
destroy
in interface DisposableBean
Exception
public void clearCaches()
clearCaches
in interface CachingComponent
public void clearUserCaches(@NotNull ApplicationUser user)
CachingComponent
clearUserCaches
in interface CachingComponent
user
- the user for which to clear the cached dataCopyright © 2024 Tempo Software. All Rights Reserved.