Package com.atlassian.jira
Class DefaultJiraApplicationContext
java.lang.Object
com.atlassian.jira.DefaultJiraApplicationContext
- All Implemented Interfaces:
JiraApplicationContext
Default singleton production implementation.
- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultJiraApplicationContext(ApplicationProperties applicationProperties, JiraLicenseService jiraLicenseService) -
Method Summary
Modifier and TypeMethodDescriptionGenerates a fingerprint based on a hash of the server id and base url to have some faith of uniqueness across real instances of JIRA.
-
Constructor Details
-
DefaultJiraApplicationContext
public DefaultJiraApplicationContext(ApplicationProperties applicationProperties, JiraLicenseService jiraLicenseService)
-
-
Method Details
-
getFingerPrint
Generates a fingerprint based on a hash of the server id and base url to have some faith of uniqueness across real instances of JIRA. Server ID alone is insufficient since it could be the same in, say, both a test and production instance of JIRA if data was cloned.- Specified by:
getFingerPrintin interfaceJiraApplicationContext- Returns:
- a 128 bit hex String representing the unique instance of JIRA.
-