com.atlassian.jira.component
Class ComponentAccessor
java.lang.Object
com.atlassian.jira.component.ComponentAccessor
public class ComponentAccessor
- extends Object
Provides static methods for accessing JIRA's managed components (ie the components in the PicoContainer).
Normally developers should get the dependencies injected into the constructor of the calling class via Pico, however
this utility provides access for when that is impossible (eg to escape from a circular dependency).
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentAccessor
public ComponentAccessor()
getApplicationProperties
public static ApplicationProperties getApplicationProperties()
getJiraAuthenticationContext
public static JiraAuthenticationContext getJiraAuthenticationContext()
getConstantsManager
public static ConstantsManager getConstantsManager()
getUserPropertyManager
public static UserPropertyManager getUserPropertyManager()
getVelocityManager
public static com.atlassian.velocity.VelocityManager getVelocityManager()
getI18nHelperFactory
public static I18nHelper.BeanFactory getI18nHelperFactory()
getFieldAccessor
public static FieldAccessor getFieldAccessor()
getComponentOfType
public static <T> T getComponentOfType(Class<T> componentClass)
initialiseWorker
public static void initialiseWorker(ComponentAccessor.Worker componentAccessorWorker)
Copyright © 2002-2011 Atlassian. All Rights Reserved.