com.componio.jlicensure.server
Interface CommandHandler


public interface CommandHandler

The command handler interface.


Method Summary
 java.lang.Object handleCommand(Command command)
          Handle the given command and return a generic result object.
 void setLicensureServer(JLicensureServer server)
          Set the licensure server instance.
 

Method Detail

handleCommand

java.lang.Object handleCommand(Command command)
                               throws java.lang.Exception
Handle the given command and return a generic result object.

Throws:
java.lang.Exception

setLicensureServer

void setLicensureServer(JLicensureServer server)
Set the licensure server instance. This is set before handleCommand is called.