com.atlassian.confluence.ondemand
Class OnDemandLicenseManagerNoOpImpl

java.lang.Object
  extended by com.atlassian.confluence.ondemand.OnDemandLicenseManagerNoOpImpl
All Implemented Interfaces:
OnDemandLicenseManager

public class OnDemandLicenseManagerNoOpImpl
extends java.lang.Object
implements OnDemandLicenseManager

No Op implementation of the OnDemandLicenseManager, this implemenation is overridden by the hosted component overrides in on demand.


Constructor Summary
OnDemandLicenseManagerNoOpImpl()
           
 
Method Summary
 boolean hasLicensedAccess(java.lang.String username)
          Always return true when not running in onDemand
 boolean isConfluenceEnabled()
          Always return true when not running in onDemand
 boolean isOnDemand()
          false when not override by onDemand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnDemandLicenseManagerNoOpImpl

public OnDemandLicenseManagerNoOpImpl()
Method Detail

isOnDemand

public boolean isOnDemand()
false when not override by onDemand

Specified by:
isOnDemand in interface OnDemandLicenseManager

hasLicensedAccess

public boolean hasLicensedAccess(java.lang.String username)
Always return true when not running in onDemand

Specified by:
hasLicensedAccess in interface OnDemandLicenseManager
Returns:
true if the user is licensed to access confluence.

isConfluenceEnabled

public boolean isConfluenceEnabled()
Always return true when not running in onDemand

Specified by:
isConfluenceEnabled in interface OnDemandLicenseManager
Returns:
true if confluence is enabled


Copyright © 2003-2014 Atlassian. All Rights Reserved.