public class LicenseService.LicenseServiceImpl extends java.lang.Object implements LicenseServiceHelper
SERVICE_NAME
Constructor and Description |
---|
LicenseServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
init(jade.core.Agent agent) |
boolean |
isValidLicense(java.lang.Object identifier)
Checks if is valid license.
|
public void init(jade.core.Agent agent)
init
in interface jade.core.ServiceHelper
public boolean isValidLicense(java.lang.Object identifier) throws jade.core.ServiceException
LicenseServiceHelper
isValidLicense
in interface LicenseServiceHelper
identifier
- of the requesting identifierjade.core.ServiceException
- the service exception