Package step.plugins.licensing
Class TokenSecondsLicenseHandler
- java.lang.Object
-
- ch.exense.licensing.client.AbstractLicenseConsumer
-
- ch.exense.licensing.client.SimpleLicenseConsumer
-
- step.plugins.licensing.TokenSecondsLicenseHandler
-
- All Implemented Interfaces:
ch.exense.licensing.client.LicenseConsumer,ch.exense.licensing.client.LicenseConsumerProvider,step.functions.execution.TokenLifecycleInterceptor
public class TokenSecondsLicenseHandler extends ch.exense.licensing.client.SimpleLicenseConsumer implements step.functions.execution.TokenLifecycleInterceptor
-
-
Constructor Summary
Constructors Constructor Description TokenSecondsLicenseHandler(ch.exense.licensing.client.LicenseManager licenseManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ch.exense.licensing.model.Resource>getResourcesUsed()voidonGetTokenHandle(java.lang.String tokenHandleId)voidonReturnTokenHandle(java.lang.String tokenHandleId)-
Methods inherited from class ch.exense.licensing.client.SimpleLicenseConsumer
getConsumerId, getConsumerProviderId, initialize, setCustomerContexts
-
Methods inherited from class ch.exense.licensing.client.AbstractLicenseConsumer
calculateAndMaybeCommit, calculateAndMaybeCommit, calculateAndMaybeCommit, calculateAndMaybeCommit, calculateUsage, commit, commit, createUsageCalculator, createUsageRequest, createUsageRequest, getDetailedContext, getGlobalGrants, getGlobalUsages, getUsageStrategy, onCommitUsage, setGlobalGrantsAndUsages, shutdown
-
-
-
-
Method Detail
-
getResourcesUsed
public java.util.List<ch.exense.licensing.model.Resource> getResourcesUsed()
- Specified by:
getResourcesUsedin interfacech.exense.licensing.client.LicenseConsumer
-
onGetTokenHandle
public void onGetTokenHandle(java.lang.String tokenHandleId) throws ch.exense.licensing.LicensingException- Specified by:
onGetTokenHandlein interfacestep.functions.execution.TokenLifecycleInterceptor- Throws:
ch.exense.licensing.LicensingException
-
onReturnTokenHandle
public void onReturnTokenHandle(java.lang.String tokenHandleId)
- Specified by:
onReturnTokenHandlein interfacestep.functions.execution.TokenLifecycleInterceptor
-
-