Package de.bmiag.tapir.bootstrap
Class TapirLicenseChecker
- java.lang.Object
-
- de.bmiag.tapir.bootstrap.TapirLicenseChecker
-
- All Implemented Interfaces:
java.util.EventListener
,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
public class TapirLicenseChecker extends java.lang.Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
This listener is executed automatically during the start of the tests and letsLicenseCheckers
check the validity of the license- Since:
- 3.0.0
- Author:
- Nils Christian Ehmke<[email protected]>
-
-
Constructor Summary
Constructors Constructor Description TapirLicenseChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkLicenseValidity()
java.util.Set<java.lang.String>
getLicenseCheckerClassNames()
void
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
-
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-
checkLicenseValidity
public void checkLicenseValidity()
-
getLicenseCheckerClassNames
public java.util.Set<java.lang.String> getLicenseCheckerClassNames()
-
-