com.caucho.health.check
Class LicenseHealthCheck

java.lang.Object
  extended by com.caucho.health.check.AbstractHealthCheck
      extended by com.caucho.license.LicenseHealthCheckImpl
          extended by com.caucho.health.check.LicenseHealthCheck
All Implemented Interfaces:
HealthCheck

@Named
@Singleton
@Configurable
public class LicenseHealthCheck
extends LicenseHealthCheckImpl

Checks for expiring Resin Pro license.

Generates WARNING when licenses is expiring in less than warning-period (default 30 days)


Constructor Summary
LicenseHealthCheck()
           
 
Method Summary
 void init()
           
 void setWarningPeriod(Period period)
          Set license check warning period (default 30D)
 
Methods inherited from class com.caucho.license.LicenseHealthCheckImpl
checkHealth, getWarningPeriod, setWarningPeriod
 
Methods inherited from class com.caucho.health.check.AbstractHealthCheck
findDelegate, getDelegate, getName, isEnabled, setEnabled, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LicenseHealthCheck

public LicenseHealthCheck()
Method Detail

init

@PostConstruct
public void init()
Overrides:
init in class AbstractHealthCheck

setWarningPeriod

@Configurable
public void setWarningPeriod(Period period)
Set license check warning period (default 30D)