com.atlassian.jira
Class DefaultJiraApplicationContext

java.lang.Object
  extended by com.atlassian.jira.DefaultJiraApplicationContext
All Implemented Interfaces:
JiraApplicationContext

public class DefaultJiraApplicationContext
extends java.lang.Object
implements JiraApplicationContext

Default singleton production implementation.

Since:
v3.13

Constructor Summary
DefaultJiraApplicationContext(ApplicationProperties applicationProperties, JiraLicenseService jiraLicenseService)
           
 
Method Summary
 java.lang.String 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJiraApplicationContext

public DefaultJiraApplicationContext(ApplicationProperties applicationProperties,
                                     JiraLicenseService jiraLicenseService)
Method Detail

getFingerPrint

public java.lang.String 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:
getFingerPrint in interface JiraApplicationContext
Returns:
a 128 bit hex String representing the unique instance of JIRA.


Copyright © 2002-2011 Atlassian. All Rights Reserved.