Class EnterpriseUserLicenseHandler

  • All Implemented Interfaces:
    ch.exense.licensing.client.LicenseConsumer, ch.exense.licensing.client.LicenseConsumerProvider

    public class EnterpriseUserLicenseHandler
    extends ch.exense.licensing.client.SimpleLicenseConsumer
    • Nested Class Summary

      • Nested classes/interfaces inherited from class ch.exense.licensing.client.AbstractLicenseConsumer

        ch.exense.licensing.client.AbstractLicenseConsumer.RequestAndUsage
      • Nested classes/interfaces inherited from interface ch.exense.licensing.client.LicenseConsumer

        ch.exense.licensing.client.LicenseConsumer.UsageRequestBehavior
    • Field Summary

      • Fields inherited from class ch.exense.licensing.client.AbstractLicenseConsumer

        detailedContext, licenseManager, shuttingDown
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ch.exense.licensing.model.Resource> getResourcesUsed()  
      protected void initialize()  
      void onServerStart​(step.core.access.UserAccessor userAccessor, step.core.access.RoleProvider roleProvider, java.util.List<StepUserCategorySpecification> userCategorySpecifications)  
      • Methods inherited from class ch.exense.licensing.client.SimpleLicenseConsumer

        getConsumerId, getConsumerProviderId, 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, onCommitUsage, setGlobalGrantsAndUsages, shutdown
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnterpriseUserLicenseHandler

        public EnterpriseUserLicenseHandler​(StepLicenseManager licenseManager)
    • Method Detail

      • getResourcesUsed

        public java.util.List<ch.exense.licensing.model.Resource> getResourcesUsed()
      • initialize

        protected void initialize()
        Overrides:
        initialize in class ch.exense.licensing.client.SimpleLicenseConsumer
      • onServerStart

        public void onServerStart​(step.core.access.UserAccessor userAccessor,
                                  step.core.access.RoleProvider roleProvider,
                                  java.util.List<StepUserCategorySpecification> userCategorySpecifications)