com.atlassian.jira
Class ComponentManager

java.lang.Object
  extended by com.atlassian.jira.ComponentManager
All Implemented Interfaces:
Shutdown
Direct Known Subclasses:
MockComponentManager

public class ComponentManager
extends Object
implements Shutdown

This component manager uses PicoContainer to resolve all the dependencies between components.

It is responsible for initialising a large number of components in JIRA. Any components defined here may be injected via a constructor.

The ComponentManager also has various static accessor methods for non-Pico-managed objects, eg. ComponentManager.getInstance().getProjectManager(). Plugins developers should no longer use these - please use ComponentAccessor instead.

More information can be found at the picocontainer website.


Nested Class Summary
static interface ComponentManager.State
          The state of the ComponentManager.
 
Field Summary
static String EXTENSION_PROVIDER_PROPERTY
           
 
Method Summary
 void bootstrapPluginsSystem()
          Bootstrap the cut down JIRA plugin system.
 void buildBootstrapPICOContainer()
          Initialization registers components for the bootstrap loading of JIRA.
 ApplicationProperties getApplicationProperties()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 AssigneeResolver getAssigneeResolver()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 AttachmentManager getAttachmentManager()
          Retrieves and returns the attachment manager instance
 AttachmentPathManager getAttachmentPathManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 AvatarManager getAvatarManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 BulkOperationManager getBulkOperationManager()
          Retrieves and return the bulk operation manager instance
 ChangeHistoryManager getChangeHistoryManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 ColumnLayoutManager getColumnLayoutManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 CommentManager getCommentManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
static
<T> T
getComponent(Class<T> clazz)
          Retrieves and returns a component which is an instance of given class.
 ComponentClassManager getComponentClassManager()
          Deprecated. Use ComponentAccessor.getComponentClassManager() instead. Since v5.0.
static
<T> T
getComponentInstanceOfType(Class<T> clazz)
          Retrieves and returns a component which is an instance of given class.
static
<T> List<T>
getComponentsOfType(Class<T> clazz)
          Returns all the components currently inside of Pico which are instances of the given class.
static
<T> Map<String,T>
getComponentsOfTypeMap(Class<T> iface)
          Returns all the components currently inside Pico which are instances of the given class, mapping them to their component key.
 ConstantsManager getConstantsManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 org.picocontainer.PicoContainer getContainer()
          Returns container
 com.atlassian.crowd.embedded.api.CrowdService getCrowdService()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 CustomFieldManager getCustomFieldManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 CvsRepositoryUtil getCvsRepositoryUtil()
          Deprecated.  
 EventTypeManager getEventTypeManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 FieldLayoutManager getFieldLayoutManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 FieldManager getFieldManager()
          Deprecated. Use ComponentAccessor.getFieldManager() instead. Since v4.4.
 FieldScreenManager getFieldScreenManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 FieldScreenRendererFactory getFieldScreenRendererFactory()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 FieldScreenSchemeManager getFieldScreenSchemeManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 FileIconBean getFileIconBean()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IndexLifecycleManager getIndexLifecycleManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IssueIndexManager getIndexManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IndexPathManager getIndexPathManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
static ComponentManager getInstance()
          Deprecated. Public use of this method is deprecated - please use ComponentAccessor instead. Since v5.2.
 IssueCreationHelperBean getIssueCreationHelperBean()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IssueFactory getIssueFactory()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IssueLinkManager getIssueLinkManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IssueManager getIssueManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IssueService getIssueService()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IssueTypeSchemeManager getIssueTypeSchemeManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 IssueTypeScreenSchemeManager getIssueTypeScreenSchemeManager()
          Deprecated. Use ComponentAccessor.getIssueTypeScreenSchemeManager() instead. Since v5.0.
 IssueUpdater getIssueUpdater()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 JiraAuthenticationContext getJiraAuthenticationContext()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 JiraDurationUtils getJiraDurationUtils()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 JiraLocaleUtils getJiraLocaleUtils()
          Deprecated. Get LocaleManager/LocaleParser injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 MailingListCompiler getMailingListCompiler()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.mail.server.MailServerManager getMailServerManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 MoveSubTaskOperationManager getMoveSubTaskOperationManager()
          Retrieves and returns the move subtask operation manager instance
 org.picocontainer.MutablePicoContainer getMutablePicoContainer()
          Returns container
static
<T> T
getOSGiComponentInstanceOfType(Class<T> clazz)
          Retrieves and returns a public component from OSGi land via its class name.
 OutlookDateManager getOutlookDateManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 PermissionContextFactory getPermissionContextFactory()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 PermissionManager getPermissionManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 PermissionTypeManager getPermissionTypeManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.plugin.PluginAccessor getPluginAccessor()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.plugin.PluginController getPluginController()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.plugin.event.PluginEventManager getPluginEventManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.plugin.PluginSystemLifecycle getPluginSystemLifecycle()
          Retrieves and returns the plugin system's lifecycle instance
 PortalPageManager getPortalPageManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 PortalPageService getPortalPageService()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 ProjectComponentManager getProjectComponentManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 ProjectFactory getProjectFactory()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 ProjectManager getProjectManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 RendererManager getRendererManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 RepositoryManager getRepositoryManager()
          Retrieves and returns the repository manager instance
 SchemePermissions getSchemePermissions()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 SearchProvider getSearchProvider()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 SearchRequestAdminService getSearchRequestAdminService()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 SearchRequestFactory getSearchRequestFactory()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 SearchRequestManager getSearchRequestManager()
          Deprecated. v3.13 please use SearchRequestService
 SearchRequestService getSearchRequestService()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 SearchService getSearchService()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 ComponentManager.State getState()
          What ComponentManager.State is the ComponentManager in.
 SubscriptionMailQueueItemFactory getSubscriptionMailQueueItemFactory()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 SubTaskManager getSubTaskManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 TaskManager getTaskManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 TemplateManager getTemplateManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 TranslationManager getTranslationManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.security.auth.trustedapps.TrustedApplicationsManager getTrustedApplicationsManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 UpgradeManager getUpgradeManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 UserPreferencesManager getUserPreferencesManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 UserPropertyManager getUserPropertyManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 UserUtil getUserUtil()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.velocity.VelocityManager getVelocityManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 VersionManager getVersionManager()
          Retrieves and returns the version manager instance
 VoteManager getVoteManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 WatcherManager getWatcherManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 com.atlassian.plugin.webresource.WebResourceManager getWebResourceManager()
          Retrieves and returns the web resource manager instance
 WorkflowManager getWorkflowManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 WorkflowSchemeManager getWorkflowSchemeManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 WorklogManager getWorklogManager()
          Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.
 void initialise()
          Initialization registers components and then registers extensions.
 void quickStart()
          This is here (outside of the initialise method) as the getComponentInstancesOfType method starts instantiating components and calls on the LicenseComponentAdpater which tries to get reference to this object using the getInstance() method.
 void refreshUpgradeManager()
          Create a new UpgradeManager.
 void shutdown()
          Shutdown.
 void start()
          Adds license configuration in license manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_PROVIDER_PROPERTY

public static final String EXTENSION_PROVIDER_PROPERTY
See Also:
Constant Field Values
Method Detail

buildBootstrapPICOContainer

public void buildBootstrapPICOContainer()
Initialization registers components for the bootstrap loading of JIRA. This gets enough of PICO registered to allow JIRA to bootstrap without a database.


bootstrapPluginsSystem

public void bootstrapPluginsSystem()
Bootstrap the cut down JIRA plugin system. This starts enough plugins to allow JIRA to bootstrap without a database.


initialise

public void initialise()
Initialization registers components and then registers extensions.


start

public void start()
Adds license configuration in license manager.


quickStart

public void quickStart()
This is here (outside of the initialise method) as the getComponentInstancesOfType method starts instantiating components and calls on the LicenseComponentAdpater which tries to get reference to this object using the getInstance() method. That method returns null as the reference to this object does not exist until the initialise method completes. So this method should be invoked after the initialise method completes execution.


shutdown

public void shutdown()
Description copied from interface: Shutdown
Shutdown. Should not throw any exceptions.

Specified by:
shutdown in interface Shutdown

getState

public ComponentManager.State getState()
What ComponentManager.State is the ComponentManager in.

Returns:
the current state.

getContainer

public org.picocontainer.PicoContainer getContainer()
Returns container

Returns:
container

getMutablePicoContainer

public org.picocontainer.MutablePicoContainer getMutablePicoContainer()
Returns container

Returns:
container

getWebResourceManager

public com.atlassian.plugin.webresource.WebResourceManager getWebResourceManager()
Retrieves and returns the web resource manager instance

Returns:
web resource manager

getRepositoryManager

public RepositoryManager getRepositoryManager()
Retrieves and returns the repository manager instance

Returns:
repository manager

getCvsRepositoryUtil

@Deprecated
public CvsRepositoryUtil getCvsRepositoryUtil()
Deprecated. 

Retrieves and returns the CVS repository util compoment

Returns:
CVS repository util

getAttachmentManager

public AttachmentManager getAttachmentManager()
Retrieves and returns the attachment manager instance

Returns:
attachment manager

getVersionManager

public VersionManager getVersionManager()
Retrieves and returns the version manager instance

Returns:
version manager

getBulkOperationManager

public BulkOperationManager getBulkOperationManager()
Retrieves and return the bulk operation manager instance

Returns:
bulk operation manager

getMoveSubTaskOperationManager

public MoveSubTaskOperationManager getMoveSubTaskOperationManager()
Retrieves and returns the move subtask operation manager instance

Returns:
move subtask operation manager

getInstance

public static ComponentManager getInstance()
Deprecated. Public use of this method is deprecated - please use ComponentAccessor instead. Since v5.2.

Retuns a singleton instance of this class.

Returns:
a singleton instance of this class

getComponentInstanceOfType

public static <T> T getComponentInstanceOfType(Class<T> clazz)
Retrieves and returns a component which is an instance of given class.

In practise, this is the same as getComponent(Class) except it will try to find a unique component that implements/extends the given Class even if the Class is not an actual component key.

Please note that this method only gets components from JIRA's core Pico Containter. That is, it retrieves core components and components declared in Plugins1 plugins, but not components declared in Plugins2 plugins. Plugins2 components can be retrieved via the getOSGiComponentInstanceOfType(Class) method, but only if they are public.

Parameters:
clazz - class to find a component instance by
Returns:
found component
See Also:
getOSGiComponentInstanceOfType(Class), PicoContainer.getComponentInstanceOfType(Class)

getComponent

public static <T> T getComponent(Class<T> clazz)
Retrieves and returns a component which is an instance of given class.

In practise, this is the same as getComponentInstanceOfType(Class) except it will fail faster if the given Class is not a known component key (it also has a shorter and more meaningful name).

Please note that this method only gets components from JIRA's core Pico Containter. That is, it retrieves core components and components declared in Plugins1 plugins, but not components declared in Plugins2 plugins. Plugins2 components can be retrieved via the getOSGiComponentInstanceOfType(Class) method, but only if they are public.

Parameters:
clazz - class to find a component instance by
Returns:
found component, or null if not found
See Also:
getOSGiComponentInstanceOfType(Class), PicoContainer.getComponentInstance(Object)

getOSGiComponentInstanceOfType

public static <T> T getOSGiComponentInstanceOfType(Class<T> clazz)
Retrieves and returns a public component from OSGi land via its class name. This method can be used to retrieve a component provided via a plugins2 OSGi bundle. Please note that components returned via this method should *NEVER* be cached (e.g. in a static field) as they may be refreshed at any time as a plugin is enabled/disabled or the componentManager is reinitialised (after an XML import).

Plugin developers should prefer the API method ComponentAccessor.getOSGiComponentInstanceOfType(Class).

It is important to note that this only works for public components. That is components with public="true" declared in their XML configuration. This means that they are available for other plugins to import.

A use case for this is when for example for the dashboards plugin. In several areas in JIRA we may want to render gadgets via the GadgetViewFactory. Whilst the interface for this component is available in JIRA core, the implementation is provided by the dashboards OSGi bundle. This method will allow us to access it.

Parameters:
clazz - class to find an OSGi component instance for
Returns:
found component
See Also:
getComponentInstanceOfType(Class)

getComponentsOfType

public static <T> List<T> getComponentsOfType(Class<T> clazz)
Returns all the components currently inside of Pico which are instances of the given class.

Parameters:
clazz - the class to search for.
Returns:
a list containing all the instances of the passed class registered in JIRA's pico container.

getComponentsOfTypeMap

public static <T> Map<String,T> getComponentsOfTypeMap(Class<T> iface)
Returns all the components currently inside Pico which are instances of the given class, mapping them to their component key.

Parameters:
iface - The class to search for
Returns:
a map, mapping the component key, to the instances of the clas registered in JIRA's pico container.

getIssueUpdater

public IssueUpdater getIssueUpdater()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the issue updater instance NOTE: This method is only used for tests. The fact that it exists means that tests need to be rewritten

Returns:
issue updater

getIssueCreationHelperBean

public IssueCreationHelperBean getIssueCreationHelperBean()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the Issue Creation Helper Bean instance.

Returns:
issue creation helper bean

getFileIconBean

public FileIconBean getFileIconBean()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the file icon bean instance

Returns:
file icon bean

getIssueManager

public IssueManager getIssueManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the issue manager instance

Returns:
issue manager

getWorkflowManager

public WorkflowManager getWorkflowManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the workflow manager instance

Returns:
workflow manager

getWorklogManager

public WorklogManager getWorklogManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the worklog manager instance

Returns:
worklog manager

getIssueFactory

public IssueFactory getIssueFactory()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Get an IssueFactory instance, particularly useful for obtaining Issue from

Returns:
IssueFactory

getProjectFactory

public ProjectFactory getProjectFactory()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the project factory instance

Returns:
project factory

getConstantsManager

public ConstantsManager getConstantsManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the constants manager

Returns:
constants manager

getFieldManager

public FieldManager getFieldManager()
Deprecated. Use ComponentAccessor.getFieldManager() instead. Since v4.4.

Retrieves and returns the field manager instance

Returns:
field manager

getCustomFieldManager

public CustomFieldManager getCustomFieldManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the custom field manager

Returns:
custom field manager

getIssueTypeSchemeManager

public IssueTypeSchemeManager getIssueTypeSchemeManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the issue type scheme manager instance

Returns:
issue type scheme manager

getIssueTypeScreenSchemeManager

public IssueTypeScreenSchemeManager getIssueTypeScreenSchemeManager()
Deprecated. Use ComponentAccessor.getIssueTypeScreenSchemeManager() instead. Since v5.0.

Retrieves and returns the issue type screen scheme manager instance

Returns:
issue type screen scheme manager

getSubTaskManager

public SubTaskManager getSubTaskManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the subtask manager instance

Returns:
subtask manager

getIssueLinkManager

public IssueLinkManager getIssueLinkManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the issuel link manager instance NOTE: Needed especially for custom workflow conditions that check an issue's links for progression.

Returns:
issuel link manager

getApplicationProperties

public ApplicationProperties getApplicationProperties()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the application properties.

Returns:
application properties

getCrowdService

public com.atlassian.crowd.embedded.api.CrowdService getCrowdService()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.


getPermissionManager

public PermissionManager getPermissionManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the permission manager instance

Returns:
permission manager

getPermissionTypeManager

public PermissionTypeManager getPermissionTypeManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the permission type manager instance

Returns:
permission type manager

getFieldLayoutManager

public FieldLayoutManager getFieldLayoutManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the field layout manager

Returns:
field layout manager

getColumnLayoutManager

public ColumnLayoutManager getColumnLayoutManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the column layout manager instance

Returns:
column layout manager

getProjectManager

public ProjectManager getProjectManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the project manager instance

Returns:
project manager

getVoteManager

public VoteManager getVoteManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the vote manager instance

Returns:
vote manager

getJiraLocaleUtils

public JiraLocaleUtils getJiraLocaleUtils()
Deprecated. Get LocaleManager/LocaleParser injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the JIRA locale utils instance

Returns:
JIRA locale utils

getPluginSystemLifecycle

public com.atlassian.plugin.PluginSystemLifecycle getPluginSystemLifecycle()
Retrieves and returns the plugin system's lifecycle instance

Returns:
plugin lifecycle

getPluginAccessor

public com.atlassian.plugin.PluginAccessor getPluginAccessor()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.


getPluginEventManager

public com.atlassian.plugin.event.PluginEventManager getPluginEventManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.


getComponentClassManager

public ComponentClassManager getComponentClassManager()
Deprecated. Use ComponentAccessor.getComponentClassManager() instead. Since v5.0.

Gets the ComponentClassManager component.

Returns:
the ComponentClassManager component.

getPluginController

public com.atlassian.plugin.PluginController getPluginController()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.


getUpgradeManager

public UpgradeManager getUpgradeManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the upgrade manager instance

Returns:
upgrade manager

getRendererManager

public RendererManager getRendererManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the renderer manager instance

Returns:
renderer manager

getFieldScreenRendererFactory

public FieldScreenRendererFactory getFieldScreenRendererFactory()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the field screen renderer factory instance

Returns:
field screen renderer factory

getWorkflowSchemeManager

public WorkflowSchemeManager getWorkflowSchemeManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the workflow scheme manager instance

Returns:
workflow scheme manager

getIndexLifecycleManager

public IndexLifecycleManager getIndexLifecycleManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the index lifecycle manager instance

Returns:
index lifecycle manager

getIndexManager

public IssueIndexManager getIndexManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the issue index manager instance

Returns:
index manager

getIssueService

public IssueService getIssueService()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the issue service instance

Returns:
issue service

getIndexPathManager

public IndexPathManager getIndexPathManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the index path manager instance

Returns:
index path manager

getAttachmentPathManager

public AttachmentPathManager getAttachmentPathManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the attachment path instance

Returns:
attachment path manager

getTranslationManager

public TranslationManager getTranslationManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the translation manager instance

Returns:
translation manager

getJiraAuthenticationContext

public JiraAuthenticationContext getJiraAuthenticationContext()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the JIRA authentication context instance

Returns:
JIRA authentication context

getWatcherManager

public WatcherManager getWatcherManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the watcher manager instance

Returns:
watcher manager

getSearchService

public SearchService getSearchService()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the search provider instance

Returns:
search provider

getSearchProvider

public SearchProvider getSearchProvider()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the search provider instance

Returns:
search provider

getSearchRequestManager

@Deprecated
public SearchRequestManager getSearchRequestManager()
Deprecated. v3.13 please use SearchRequestService

Retrieves and returns the search request manager instance

Returns:
search request manager

getSearchRequestService

public SearchRequestService getSearchRequestService()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves the search request service

Returns:
search request service
Since:
v3.13

getSearchRequestAdminService

public SearchRequestAdminService getSearchRequestAdminService()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves the search request admin service

Returns:
search request service
Since:
v3.13

getSearchRequestFactory

public SearchRequestFactory getSearchRequestFactory()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves a SearchRequestFactory

Returns:
search request factory
Since:
v3.13

getFieldScreenManager

public FieldScreenManager getFieldScreenManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the field screen manager instance

Returns:
field screen manager

getFieldScreenSchemeManager

public FieldScreenSchemeManager getFieldScreenSchemeManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the field screen scheme manager instance

Returns:
field screen scheme manager

getSchemePermissions

public SchemePermissions getSchemePermissions()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the scheme permissions instance

Returns:
scheme permissions

getMailServerManager

public com.atlassian.mail.server.MailServerManager getMailServerManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the mail server manager instance

Returns:
mail server manager

getEventTypeManager

public EventTypeManager getEventTypeManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns teh event type manager instance

Returns:
event type manager

getTemplateManager

public TemplateManager getTemplateManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the template manager instance

Returns:
template manager

getUserUtil

public UserUtil getUserUtil()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the user util instance

Returns:
user util

getAssigneeResolver

public AssigneeResolver getAssigneeResolver()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the assignee resolver instance

Returns:
assignee resolver

getMailingListCompiler

public MailingListCompiler getMailingListCompiler()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the mailing list compiler instance

Returns:
mailing list compiler

getSubscriptionMailQueueItemFactory

public SubscriptionMailQueueItemFactory getSubscriptionMailQueueItemFactory()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the subscription mail queue item factory instance

Returns:
subscription mail queue item factory

getVelocityManager

public com.atlassian.velocity.VelocityManager getVelocityManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the velocity manager instance

Returns:
velocity manager

getCommentManager

public CommentManager getCommentManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the comment manager instance

Returns:
comment manager

refreshUpgradeManager

public void refreshUpgradeManager()
Create a new UpgradeManager. This may be needed if more upgrade tasks are added, or if the license has been changed.


getProjectComponentManager

public ProjectComponentManager getProjectComponentManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the project component manager instance

Returns:
project component manager

getChangeHistoryManager

public ChangeHistoryManager getChangeHistoryManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the ChangeHistoryManager manager instance

Returns:
ChangeHistoryManager

getPermissionContextFactory

public PermissionContextFactory getPermissionContextFactory()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the permission context factory instance

Returns:
permission context factory

getUserPreferencesManager

public UserPreferencesManager getUserPreferencesManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the user preferences manager instance

Returns:
user preferences manager

getUserPropertyManager

public UserPropertyManager getUserPropertyManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the user preferences manager instance

Returns:
user preferences manager

getJiraDurationUtils

public JiraDurationUtils getJiraDurationUtils()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Retrieves and returns the JIRA duration utils instance

Returns:
JIRA duration utils

getTaskManager

public TaskManager getTaskManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Returns the TaskManager

Returns:
the TaskManager

getTrustedApplicationsManager

public com.atlassian.security.auth.trustedapps.TrustedApplicationsManager getTrustedApplicationsManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.


getOutlookDateManager

public OutlookDateManager getOutlookDateManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.


getPortalPageService

public PortalPageService getPortalPageService()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Returns:
the PortalPageService

getPortalPageManager

public PortalPageManager getPortalPageManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.

Returns:
the PortalPageManager

getAvatarManager

public AvatarManager getAvatarManager()
Deprecated. Get this component injected in your constructor or use ComponentAccessor for static access instead. Since v5.2.



Copyright © 2002-2012 Atlassian. All Rights Reserved.