public class JiraComponents extends Object implements org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, CachingComponent
Constructor and Description |
---|
JiraComponents() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
clearCaches() |
void |
clearUserCaches(com.atlassian.jira.user.ApplicationUser user)
Clear all cached data associated with the specified user.
|
void |
destroy() |
static com.atlassian.jira.config.properties.ApplicationProperties |
getApplicationProperties() |
static com.atlassian.jira.avatar.AvatarManager |
getAvatarManager() |
static <T> T |
getComponent(Class<T> intfClass) |
static com.atlassian.jira.plugin.ComponentClassManager |
getComponentClassManager() |
static <T> T |
getComponentOfType(Class<T> intfClass) |
static com.atlassian.jira.config.ConstantsManager |
getConstantsManager() |
static com.atlassian.jira.security.GlobalPermissionManager |
getGlobalPermissionManager() |
static com.atlassian.jira.security.groups.GroupManager |
getGroupManager() |
static com.atlassian.jira.issue.IssueManager |
getIssueManager() |
static com.atlassian.jira.security.JiraAuthenticationContext |
getJiraAuthenticationContext() |
static com.atlassian.jira.issue.customfields.manager.OptionsManager |
getOptionsManager() |
static <T> T |
getOSGiComponentInstanceOfType(Class<T> intfClass) |
static com.atlassian.jira.security.PermissionManager |
getPermissionManager() |
static com.atlassian.plugin.PluginAccessor |
getPluginAccessor() |
static com.atlassian.jira.bc.project.component.ProjectComponentManager |
getProjectComponentManager() |
static com.atlassian.jira.project.ProjectManager |
getProjectManager() |
static com.atlassian.jira.user.util.UserManager |
getUserManager() |
static com.atlassian.jira.user.util.UserUtil |
getUserUtil() |
static com.atlassian.jira.project.version.VersionManager |
getVersionManager() |
static <T,E extends Exception> |
withThreadContextClassLoaderOf(Object object,
CallableE<T,E> code) |
@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 com.atlassian.jira.security.JiraAuthenticationContext getJiraAuthenticationContext()
public static com.atlassian.jira.project.ProjectManager getProjectManager()
public static com.atlassian.jira.bc.project.component.ProjectComponentManager getProjectComponentManager()
public static com.atlassian.jira.config.ConstantsManager getConstantsManager()
public static com.atlassian.jira.project.version.VersionManager getVersionManager()
public static com.atlassian.jira.issue.customfields.manager.OptionsManager getOptionsManager()
public static com.atlassian.jira.user.util.UserManager getUserManager()
public static com.atlassian.jira.security.groups.GroupManager getGroupManager()
public static com.atlassian.jira.user.util.UserUtil getUserUtil()
public static com.atlassian.plugin.PluginAccessor getPluginAccessor()
public static com.atlassian.jira.security.PermissionManager getPermissionManager()
public static com.atlassian.jira.config.properties.ApplicationProperties getApplicationProperties()
public static com.atlassian.jira.issue.IssueManager getIssueManager()
public static com.atlassian.jira.avatar.AvatarManager getAvatarManager()
public static com.atlassian.jira.plugin.ComponentClassManager getComponentClassManager()
public static com.atlassian.jira.security.GlobalPermissionManager getGlobalPermissionManager()
public final void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public final void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public void clearCaches()
clearCaches
in interface CachingComponent
public void clearUserCaches(@NotNull com.atlassian.jira.user.ApplicationUser user)
CachingComponent
clearUserCaches
in interface CachingComponent
user
- the user for which to clear the cached dataCopyright © 2019 ALM Works. All Rights Reserved.