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(). These should only be used if constructor based injection is not feasible.

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()
          Retrieves and returns the application properties.
 AssigneeResolver getAssigneeResolver()
          Retrieves and returns the assignee resolver instance
 AttachmentManager getAttachmentManager()
          Retrieves and returns the attachment manager instance
 AttachmentPathManager getAttachmentPathManager()
          Retrieves and returns the attachment path instance
 AvatarManager getAvatarManager()
           
 BulkOperationManager getBulkOperationManager()
          Retrieves and return the bulk operation manager instance
 ChangeHistoryManager getChangeHistoryManager()
          Retrieves and returns the ChangeHistoryManager manager instance
 ColumnLayoutManager getColumnLayoutManager()
          Retrieves and returns the column layout manager instance
 CommentManager getCommentManager()
          Retrieves and returns the comment manager instance
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()
          Retrieves and returns the constants manager
 org.picocontainer.PicoContainer getContainer()
          Returns container
 com.atlassian.crowd.embedded.api.CrowdService getCrowdService()
           
 CustomFieldManager getCustomFieldManager()
          Retrieves and returns the custom field manager
 CvsRepositoryUtil getCvsRepositoryUtil()
          Deprecated.  
 EventTypeManager getEventTypeManager()
          Retrieves and returns teh event type manager instance
 FieldLayoutManager getFieldLayoutManager()
          Retrieves and returns the field layout manager
 FieldManager getFieldManager()
          Deprecated. Use ComponentAccessor.getFieldManager() instead. Since v4.4.
 FieldScreenManager getFieldScreenManager()
          Retrieves and returns the field screen manager instance
 FieldScreenRendererFactory getFieldScreenRendererFactory()
          Retrieves and returns the field screen renderer factory instance
 FieldScreenSchemeManager getFieldScreenSchemeManager()
          Retrieves and returns the field screen scheme manager instance
 FileIconBean getFileIconBean()
          Retrieves and returns the file icon bean instance
 IndexLifecycleManager getIndexLifecycleManager()
          Retrieves and returns the index lifecycle manager instance
 IssueIndexManager getIndexManager()
          Retrieves and returns the issue index manager instance
 IndexPathManager getIndexPathManager()
          Retrieves and returns the index path manager instance
static ComponentManager getInstance()
          Retuns a singleton instance of this class.
 IssueCreationHelperBean getIssueCreationHelperBean()
          Retrieves and returns the Issue Creation Helper Bean instance.
 IssueFactory getIssueFactory()
          Get an IssueFactory instance, particularly useful for obtaining Issue from
 IssueLinkManager getIssueLinkManager()
          Retrieves and returns the issuel link manager instance NOTE: Needed especially for custom workflow conditions that check an issue's links for progression.
 IssueManager getIssueManager()
          Retrieves and returns the issue manager instance
 IssueService getIssueService()
          Retrieves and returns the issue service instance
 IssueTypeSchemeManager getIssueTypeSchemeManager()
          Retrieves and returns the issue type scheme manager instance
 IssueTypeScreenSchemeManager getIssueTypeScreenSchemeManager()
          Deprecated. Use ComponentAccessor.getIssueTypeScreenSchemeManager() instead. Since v5.0.
 IssueUpdater getIssueUpdater()
          Retrieves and returns the issue updater instance NOTE: This method is only used for tests.
 JiraAuthenticationContext getJiraAuthenticationContext()
          Retrieves and returns the JIRA authentication context instance
 JiraDurationUtils getJiraDurationUtils()
          Retrieves and returns the JIRA duration utils instance
 JiraLocaleUtils getJiraLocaleUtils()
          Retrieves and returns the JIRA locale utils instance
 MailingListCompiler getMailingListCompiler()
          Retrieves and returns the mailing list compiler instance
 com.atlassian.mail.server.MailServerManager getMailServerManager()
          Retrieves and returns the mail server manager instance
 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()
           
 PermissionContextFactory getPermissionContextFactory()
          Retrieves and returns the permission context factory instance
 PermissionManager getPermissionManager()
          Retrieves and returns the permission manager instance
 PermissionTypeManager getPermissionTypeManager()
          Retrieves and returns the permission type manager instance
 com.atlassian.plugin.PluginAccessor getPluginAccessor()
           
 com.atlassian.plugin.PluginController getPluginController()
           
 com.atlassian.plugin.event.PluginEventManager getPluginEventManager()
           
 com.atlassian.plugin.PluginSystemLifecycle getPluginSystemLifecycle()
          Retrieves and returns the plugin system's lifecycle instance
 PortalPageManager getPortalPageManager()
           
 PortalPageService getPortalPageService()
           
 ProjectComponentManager getProjectComponentManager()
          Retrieves and returns the project component manager instance
 ProjectFactory getProjectFactory()
          Retrieves and returns the project factory instance
 ProjectManager getProjectManager()
          Retrieves and returns the project manager instance
 RendererManager getRendererManager()
          Retrieves and returns the renderer manager instance
 RepositoryManager getRepositoryManager()
          Retrieves and returns the repository manager instance
 SchemePermissions getSchemePermissions()
          Retrieves and returns the scheme permissions instance
 SearchProvider getSearchProvider()
          Retrieves and returns the search provider instance
 SearchRequestAdminService getSearchRequestAdminService()
          Retrieves the search request admin service
 SearchRequestFactory getSearchRequestFactory()
          Retrieves a SearchRequestFactory
 SearchRequestManager getSearchRequestManager()
          Deprecated. v3.13 please use SearchRequestService
 SearchRequestService getSearchRequestService()
          Retrieves the search request service
 SearchService getSearchService()
          Retrieves and returns the search provider instance
 ComponentManager.State getState()
          What ComponentManager.State is the ComponentManager in.
 SubscriptionMailQueueItemFactory getSubscriptionMailQueueItemFactory()
          Retrieves and returns the subscription mail queue item factory instance
 SubTaskManager getSubTaskManager()
          Retrieves and returns the subtask manager instance
 TaskManager getTaskManager()
          Returns the TaskManager
 TemplateManager getTemplateManager()
          Retrieves and returns the template manager instance
 TranslationManager getTranslationManager()
          Retrieves and returns the translation manager instance
 com.atlassian.security.auth.trustedapps.TrustedApplicationsManager getTrustedApplicationsManager()
           
 UpgradeManager getUpgradeManager()
          Retrieves and returns the upgrade manager instance
 UserPreferencesManager getUserPreferencesManager()
          Retrieves and returns the user preferences manager instance
 UserPropertyManager getUserPropertyManager()
          Retrieves and returns the user preferences manager instance
 UserUtil getUserUtil()
          Retrieves and returns the user util instance
 com.atlassian.velocity.VelocityManager getVelocityManager()
          Retrieves and returns the velocity manager instance
 VersionManager getVersionManager()
          Retrieves and returns the version manager instance
 VoteManager getVoteManager()
          Retrieves and returns the vote manager instance
 WatcherManager getWatcherManager()
          Retrieves and returns the watcher manager instance
 com.atlassian.plugin.webresource.WebResourceManager getWebResourceManager()
          Retrieves and returns the web resource manager instance
 WorkflowManager getWorkflowManager()
          Retrieves and returns the workflow manager instance
 WorkflowSchemeManager getWorkflowSchemeManager()
          Retrieves and returns the workflow scheme manager instance
 WorklogManager getWorklogManager()
          Retrieves and returns the worklog manager instance
 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, then calls quickStart() and eagerlyInstantiate().
static void stopTenant(com.atlassian.multitenant.Tenant tenant)
          This should only be called from LauncherContextListener when we are manipulating the lifecycle of the ComponentManager during multitenancy.
 
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, then calls quickStart() and eagerlyInstantiate().


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()
Retuns a singleton instance of this class.

Returns:
a singleton instance of this class

stopTenant

public static void stopTenant(com.atlassian.multitenant.Tenant tenant)
This should only be called from LauncherContextListener when we are manipulating the lifecycle of the ComponentManager during multitenancy.

Parameters:
tenant - that you are stopping

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).

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()
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()
Retrieves and returns the Issue Creation Helper Bean instance.

Returns:
issue creation helper bean

getFileIconBean

public FileIconBean getFileIconBean()
Retrieves and returns the file icon bean instance

Returns:
file icon bean

getIssueManager

public IssueManager getIssueManager()
Retrieves and returns the issue manager instance

Returns:
issue manager

getWorkflowManager

public WorkflowManager getWorkflowManager()
Retrieves and returns the workflow manager instance

Returns:
workflow manager

getWorklogManager

public WorklogManager getWorklogManager()
Retrieves and returns the worklog manager instance

Returns:
worklog manager

getIssueFactory

public IssueFactory getIssueFactory()
Get an IssueFactory instance, particularly useful for obtaining Issue from

Returns:
IssueFactory

getProjectFactory

public ProjectFactory getProjectFactory()
Retrieves and returns the project factory instance

Returns:
project factory

getConstantsManager

public ConstantsManager getConstantsManager()
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()
Retrieves and returns the custom field manager

Returns:
custom field manager

getIssueTypeSchemeManager

public IssueTypeSchemeManager getIssueTypeSchemeManager()
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()
Retrieves and returns the subtask manager instance

Returns:
subtask manager

getIssueLinkManager

public IssueLinkManager getIssueLinkManager()
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()
Retrieves and returns the application properties.

Returns:
application properties

getCrowdService

public com.atlassian.crowd.embedded.api.CrowdService getCrowdService()

getPermissionManager

public PermissionManager getPermissionManager()
Retrieves and returns the permission manager instance

Returns:
permission manager

getPermissionTypeManager

public PermissionTypeManager getPermissionTypeManager()
Retrieves and returns the permission type manager instance

Returns:
permission type manager

getFieldLayoutManager

public FieldLayoutManager getFieldLayoutManager()
Retrieves and returns the field layout manager

Returns:
field layout manager

getColumnLayoutManager

public ColumnLayoutManager getColumnLayoutManager()
Retrieves and returns the column layout manager instance

Returns:
column layout manager

getProjectManager

public ProjectManager getProjectManager()
Retrieves and returns the project manager instance

Returns:
project manager

getVoteManager

public VoteManager getVoteManager()
Retrieves and returns the vote manager instance

Returns:
vote manager

getJiraLocaleUtils

public JiraLocaleUtils getJiraLocaleUtils()
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()

getPluginEventManager

public com.atlassian.plugin.event.PluginEventManager getPluginEventManager()

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()

getUpgradeManager

public UpgradeManager getUpgradeManager()
Retrieves and returns the upgrade manager instance

Returns:
upgrade manager

getRendererManager

public RendererManager getRendererManager()
Retrieves and returns the renderer manager instance

Returns:
renderer manager

getFieldScreenRendererFactory

public FieldScreenRendererFactory getFieldScreenRendererFactory()
Retrieves and returns the field screen renderer factory instance

Returns:
field screen renderer factory

getWorkflowSchemeManager

public WorkflowSchemeManager getWorkflowSchemeManager()
Retrieves and returns the workflow scheme manager instance

Returns:
workflow scheme manager

getIndexLifecycleManager

public IndexLifecycleManager getIndexLifecycleManager()
Retrieves and returns the index lifecycle manager instance

Returns:
index lifecycle manager

getIndexManager

public IssueIndexManager getIndexManager()
Retrieves and returns the issue index manager instance

Returns:
index manager

getIssueService

public IssueService getIssueService()
Retrieves and returns the issue service instance

Returns:
issue service

getIndexPathManager

public IndexPathManager getIndexPathManager()
Retrieves and returns the index path manager instance

Returns:
index path manager

getAttachmentPathManager

public AttachmentPathManager getAttachmentPathManager()
Retrieves and returns the attachment path instance

Returns:
attachment path manager

getTranslationManager

public TranslationManager getTranslationManager()
Retrieves and returns the translation manager instance

Returns:
translation manager

getJiraAuthenticationContext

public JiraAuthenticationContext getJiraAuthenticationContext()
Retrieves and returns the JIRA authentication context instance

Returns:
JIRA authentication context

getWatcherManager

public WatcherManager getWatcherManager()
Retrieves and returns the watcher manager instance

Returns:
watcher manager

getSearchService

public SearchService getSearchService()
Retrieves and returns the search provider instance

Returns:
search provider

getSearchProvider

public SearchProvider getSearchProvider()
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()
Retrieves the search request service

Returns:
search request service
Since:
v3.13

getSearchRequestAdminService

public SearchRequestAdminService getSearchRequestAdminService()
Retrieves the search request admin service

Returns:
search request service
Since:
v3.13

getSearchRequestFactory

public SearchRequestFactory getSearchRequestFactory()
Retrieves a SearchRequestFactory

Returns:
search request factory
Since:
v3.13

getFieldScreenManager

public FieldScreenManager getFieldScreenManager()
Retrieves and returns the field screen manager instance

Returns:
field screen manager

getFieldScreenSchemeManager

public FieldScreenSchemeManager getFieldScreenSchemeManager()
Retrieves and returns the field screen scheme manager instance

Returns:
field screen scheme manager

getSchemePermissions

public SchemePermissions getSchemePermissions()
Retrieves and returns the scheme permissions instance

Returns:
scheme permissions

getMailServerManager

public com.atlassian.mail.server.MailServerManager getMailServerManager()
Retrieves and returns the mail server manager instance

Returns:
mail server manager

getEventTypeManager

public EventTypeManager getEventTypeManager()
Retrieves and returns teh event type manager instance

Returns:
event type manager

getTemplateManager

public TemplateManager getTemplateManager()
Retrieves and returns the template manager instance

Returns:
template manager

getUserUtil

public UserUtil getUserUtil()
Retrieves and returns the user util instance

Returns:
user util

getAssigneeResolver

public AssigneeResolver getAssigneeResolver()
Retrieves and returns the assignee resolver instance

Returns:
assignee resolver

getMailingListCompiler

public MailingListCompiler getMailingListCompiler()
Retrieves and returns the mailing list compiler instance

Returns:
mailing list compiler

getSubscriptionMailQueueItemFactory

public SubscriptionMailQueueItemFactory getSubscriptionMailQueueItemFactory()
Retrieves and returns the subscription mail queue item factory instance

Returns:
subscription mail queue item factory

getVelocityManager

public com.atlassian.velocity.VelocityManager getVelocityManager()
Retrieves and returns the velocity manager instance

Returns:
velocity manager

getCommentManager

public CommentManager getCommentManager()
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()
Retrieves and returns the project component manager instance

Returns:
project component manager

getChangeHistoryManager

public ChangeHistoryManager getChangeHistoryManager()
Retrieves and returns the ChangeHistoryManager manager instance

Returns:
ChangeHistoryManager

getPermissionContextFactory

public PermissionContextFactory getPermissionContextFactory()
Retrieves and returns the permission context factory instance

Returns:
permission context factory

getUserPreferencesManager

public UserPreferencesManager getUserPreferencesManager()
Retrieves and returns the user preferences manager instance

Returns:
user preferences manager

getUserPropertyManager

public UserPropertyManager getUserPropertyManager()
Retrieves and returns the user preferences manager instance

Returns:
user preferences manager

getJiraDurationUtils

public JiraDurationUtils getJiraDurationUtils()
Retrieves and returns the JIRA duration utils instance

Returns:
JIRA duration utils

getTaskManager

public TaskManager getTaskManager()
Returns the TaskManager

Returns:
the TaskManager

getTrustedApplicationsManager

public com.atlassian.security.auth.trustedapps.TrustedApplicationsManager getTrustedApplicationsManager()

getOutlookDateManager

public OutlookDateManager getOutlookDateManager()

getPortalPageService

public PortalPageService getPortalPageService()
Returns:
the PortalPageService

getPortalPageManager

public PortalPageManager getPortalPageManager()
Returns:
the PortalPageManager

getAvatarManager

public AvatarManager getAvatarManager()


Copyright © 2002-2012 Atlassian. All Rights Reserved.