SilverStream
Application Server 3.5

com.sssw.rts.adminapi
Interface AgiAdmLicense


public interface AgiAdmLicense

Implemented by objects that represent SilverStream licenses that administer access to the SilverStream Server.

See Also:
AgiAdmServer

Field Summary
static String STR_EXPIRATION_NONE
          Signifies an unlimited access, in terms of the period of time the license is valid.
static String STR_LICENSE_UNLIMITED
          Signifies an unlimited access, in terms of the number of users or the number of CPUs.
 
Method Summary
 String getDescription()
          Get a short string describing the license.
 String getExpirationDate()
          Get the expiration date of the license; can be STR_EXPIRATION_NONE.
 String getIssuer()
          Get the name of the issuer of the license.
 String getLicenseString()
          Get the full license string.
 String getNumProcessors()
          Get the limit on the number of CPUs; can be STR_LICENSE_UNLIMITED.
 String getNumUsers()
          Get the limit on the number of users; can be STR_LICENSE_UNLIMITED.
 String getSerialNumber()
          Get the serial number of the license.
 String getServerName()
          Get the name of the server for which the license is issued.
 

Field Detail

STR_LICENSE_UNLIMITED

public static final String STR_LICENSE_UNLIMITED
Signifies an unlimited access, in terms of the number of users or the number of CPUs.
See Also:
AgiAdmLicense.getNumProcessors(), AgiAdmLicense.getNumUsers()

STR_EXPIRATION_NONE

public static final String STR_EXPIRATION_NONE
Signifies an unlimited access, in terms of the period of time the license is valid.
See Also:
AgiAdmLicense.getExpirationDate()
Method Detail

getDescription

public String getDescription()
Get a short string describing the license.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String descr = license.getDescription();
 

getIssuer

public String getIssuer()
Get the name of the issuer of the license.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String issuer = license.getIssuer();
 

getNumUsers

public String getNumUsers()
Get the limit on the number of users; can be STR_LICENSE_UNLIMITED.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String numUsers = license.getNumUsers();
 

getNumProcessors

public String getNumProcessors()
Get the limit on the number of CPUs; can be STR_LICENSE_UNLIMITED.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String numProcs = license.getNumProcessors();
 

getExpirationDate

public String getExpirationDate()
Get the expiration date of the license; can be STR_EXPIRATION_NONE.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String expDate = license.getExpirationDate();
 

getServerName

public String getServerName()
Get the name of the server for which the license is issued.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String serverName = license.getServerName();
 

getSerialNumber

public String getSerialNumber()
Get the serial number of the license.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String serialNum = license.getSerialNumber();
 

getLicenseString

public String getLicenseString()
Get the full license string.
Parameters:
none -  
Example:
 AgiAdmLicense license = ...
 String licenseString = license.getLicenseString();
 

SilverStream
Application Server 3.5