gran.app.adapter.kernel.license
Class BaseLicenseAdapter

java.lang.Object
  extended bygran.app.adapter.kernel.license.BaseLicenseAdapter
All Implemented Interfaces:
Adapter, KernelAdapter, LicenseAdapter

public class BaseLicenseAdapter
extends java.lang.Object
implements LicenseAdapter


Constructor Summary
BaseLicenseAdapter()
           
 
Method Summary
 void expireTestImpl()
           
 java.lang.String getDescription()
          Get description of adapter as plain text
 long getExpireDateImpl()
           
 java.lang.String getVersionDescriptionImpl()
           
 java.lang.String getVersionImpl()
           
 boolean init()
          Initialize adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLicenseAdapter

public BaseLicenseAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

getExpireDateImpl

public long getExpireDateImpl()
                       throws GranException
Specified by:
getExpireDateImpl in interface LicenseAdapter
Throws:
GranException

expireTestImpl

public void expireTestImpl()
                    throws GranException
Specified by:
expireTestImpl in interface LicenseAdapter
Throws:
GranException

getVersionImpl

public java.lang.String getVersionImpl()
Specified by:
getVersionImpl in interface LicenseAdapter

getVersionDescriptionImpl

public java.lang.String getVersionDescriptionImpl()
                                           throws GranException
Specified by:
getVersionDescriptionImpl in interface LicenseAdapter
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.