public interface LicenseMBean
Attributes which constrain and the operation of the SLEE
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
The licensed functions permitted by this license.
ConfigurationException
- An exceptionManagementException
- An exceptionString[] getVersions() throws ConfigurationException, ManagementException
The licensed versions permitted by this license.
ConfigurationException
- An exceptionManagementException
- An exceptionlong getLicensedCapacity(String function, String version) throws ConfigurationException, ManagementException
Returns the maximum capacity of the specified function/version for the license represented by this mbean.
function
- the function stringversion
- the function versionConfigurationException
ManagementException
Date getValidFrom() throws ConfigurationException, ManagementException
The date this license takes force
ConfigurationException
- An exceptionManagementException
- An exceptionDate getValidUntil() throws ConfigurationException, ManagementException
The date this license expires
ConfigurationException
- An exceptionManagementException
- An exceptionboolean isCurrentlyValid() throws ConfigurationException, ManagementException
Test whether this license is valid for this SLEE
ConfigurationException
- An exceptionManagementException
- An exception