public interface LicenseMBean
Modifier and Type | Method and Description |
---|---|
String[] |
getFunctions()
The licensed functions permitted by this license.
|
long |
getLicensedCapacity(String function,
String version)
Returns the maximum capacity of the specified function/version for the
license represented by this mbean.
|
Date |
getValidFrom()
The date this license takes force
|
Date |
getValidUntil()
The date this license expires
|
String[] |
getVersions()
The licensed versions permitted by this license.
|
boolean |
isCurrentlyValid()
Test whether this license is valid for this SLEE
|
String[] getFunctions() throws ConfigurationException, ManagementException
ConfigurationException
- An exceptionManagementException
- An exceptionString[] getVersions() throws ConfigurationException, ManagementException
ConfigurationException
- An exceptionManagementException
- An exceptionlong getLicensedCapacity(String function, String version) throws ConfigurationException, ManagementException
function
- the function stringversion
- the function versionConfigurationException
ManagementException
Date getValidFrom() throws ConfigurationException, ManagementException
ConfigurationException
- An exceptionManagementException
- An exceptionDate getValidUntil() throws ConfigurationException, ManagementException
ConfigurationException
- An exceptionManagementException
- An exceptionboolean isCurrentlyValid() throws ConfigurationException, ManagementException
ConfigurationException
- An exceptionManagementException
- An exception