|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.beesoft.abeona.LicenseServer
public abstract class LicenseServer
This is abstract superclass for license server. It uses HTTP for data
transfer, port is configurable.
You must serve method getProperties(String, String)
in your
implementation. This method is invoked from client
License.load(String, String, String, String)
method.
Constructor Summary | |
---|---|
LicenseServer()
Creates new instance of LicenseServer. |
Method Summary | |
---|---|
protected abstract java.util.Properties |
getProperties(java.lang.String application,
java.lang.String user)
Returns properties for license client. |
boolean |
isRunning()
Checks whether server is running. |
void |
start(int port)
Starts license server and creates socket for given port. |
void |
stop()
Stops license server and releases socket. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LicenseServer()
Method Detail |
---|
public boolean isRunning()
public void start(int port)
port
- Port number (1 - 9999) to listening license clients.public void stop()
protected abstract java.util.Properties getProperties(java.lang.String application, java.lang.String user)
application
- A name of the application properties are requested foruser
- System user name who requests license properties
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |