Package step.plugins.licensing
Class StepControllerLicenseHandler
- java.lang.Object
-
- ch.exense.licensing.client.AbstractLicenseConsumer
-
- ch.exense.licensing.client.SimpleLicenseConsumer
-
- step.plugins.licensing.StepControllerLicenseHandler
-
- All Implemented Interfaces:
ch.exense.licensing.client.LicenseConsumer
,ch.exense.licensing.client.LicenseConsumerProvider
public class StepControllerLicenseHandler extends ch.exense.licensing.client.SimpleLicenseConsumer
-
-
Constructor Summary
Constructors Constructor Description StepControllerLicenseHandler(StepLicenseManager licenseManager, boolean keepRunningIfUnlicensed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ch.exense.licensing.model.Resource>
getResourcesUsed()
void
init(step.core.Controller controller)
protected void
onCommitUsage(ch.exense.licensing.model.ResourceUsage usage)
-
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_MustSynchronize, commit_MustSynchronize, createUsageCalculator, createUsageRequest, createUsageRequest, getDetailedContext, getGlobalGrants, getGlobalUsages, getUsageStrategy, setGlobalGrantsAndUsages, shutdown
-
-
-
-
Constructor Detail
-
StepControllerLicenseHandler
public StepControllerLicenseHandler(StepLicenseManager licenseManager, boolean keepRunningIfUnlicensed)
-
-
Method Detail
-
getResourcesUsed
public java.util.List<ch.exense.licensing.model.Resource> getResourcesUsed()
-
init
public void init(step.core.Controller controller) throws ch.exense.licensing.LicensingException
- Throws:
ch.exense.licensing.LicensingException
-
onCommitUsage
protected void onCommitUsage(ch.exense.licensing.model.ResourceUsage usage)
- Overrides:
onCommitUsage
in classch.exense.licensing.client.AbstractLicenseConsumer
-
-