public interface LicenseAware extends org.springframework.context.ApplicationListener<LicenseUpdatedEvent>
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Modifier and Type | Method and Description |
|---|---|
void |
loadLicense()
Reads the license file and extracts the relevant data.
|
void |
onApplicationEvent(LicenseUpdatedEvent event)
Handles the license update event
|
void |
reloadLicense()
Performs all actions required when the license is updated.
|
void reloadLicense()
void loadLicense()
throws EntitlementException
EntitlementException - if there is any error reading the license filevoid onApplicationEvent(LicenseUpdatedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<LicenseUpdatedEvent>event - the eventCopyright © 2019 CrafterCMS. All rights reserved.