|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.atlassian.upm.license.compatibility.PluginLicenseManagerAccessorImpl
public class PluginLicenseManagerAccessorImpl
| Constructor Summary | |
|---|---|
PluginLicenseManagerAccessorImpl(org.springframework.context.ApplicationContext applicationContext,
LegacyCompatiblePluginLicenseManager legacyPluginLicenseManager)
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
LegacyCompatiblePluginLicenseManager |
getLegacyPluginLicenseManager()
Returns the LegacyCompatiblePluginLicenseManager for the current plugin, regardless of
whether or not UPM 2.0 is installed. |
CompatiblePluginLicenseManager |
getPluginLicenseManager()
Returns the CompatiblePluginLicenseManager to be used based on whether or not UPM 2.0 is installed. |
boolean |
isOnDemand()
Returns true if this plugin is being run in an On Demand environment, false if Behind the Firewall. |
boolean |
isUpmPluginLicenseManagerResolved()
Returns true if UPM 2.0's plugin license manager is resolved and in use, false if not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginLicenseManagerAccessorImpl(org.springframework.context.ApplicationContext applicationContext,
LegacyCompatiblePluginLicenseManager legacyPluginLicenseManager)
| Method Detail |
|---|
public CompatiblePluginLicenseManager getPluginLicenseManager()
PluginLicenseManagerAccessorCompatiblePluginLicenseManager to be used based on whether or not UPM 2.0 is installed.
getPluginLicenseManager in interface PluginLicenseManagerAccessorCompatiblePluginLicenseManager to be used based on whether or not UPM 2.0 is installed.public LegacyCompatiblePluginLicenseManager getLegacyPluginLicenseManager()
PluginLicenseManagerAccessorLegacyCompatiblePluginLicenseManager for the current plugin, regardless of
whether or not UPM 2.0 is installed. Use this method for functionality that you where you want to continue
using your plugin's legacy licensing methods even if UPM 2.0 is installed.
getLegacyPluginLicenseManager in interface PluginLicenseManagerAccessorLegacyCompatiblePluginLicenseManager for the current plugin.public boolean isOnDemand()
PluginLicenseManagerAccessor
isOnDemand in interface PluginLicenseManagerAccessorpublic boolean isUpmPluginLicenseManagerResolved()
PluginLicenseManagerAccessor
isUpmPluginLicenseManagerResolved in interface PluginLicenseManagerAccessorpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||