A C D E G H I J L O P R S T V W

A

Accepter - Interface in com.componio.jlicensure.server
The accepter should actively wait for license request (for example by opening a network socket) and pass on the requests to the given JLicensureServer implementation.
addLicenseeData(LicenseeData) - Method in interface com.componio.jlicensure.server.JLicensureServer
Add new licensee information to the server instance.
addLicenseeData(LicenseeData) - Method in interface com.componio.jlicensure.server.LicenseStorage
Add the given licensee information to the storage.

C

com.componio.jlicensure.server - package com.componio.jlicensure.server
 
com.componio.jlicensure.shared - package com.componio.jlicensure.shared
 
Command - Interface in com.componio.jlicensure.shared
For now, the Command interface is a marker interface for any type of object.
CommandHandler - Interface in com.componio.jlicensure.server
The command handler interface.
createObject(String) - Static method in class com.componio.jlicensure.shared.ObjectFactory
Creates the object of the given name and returns the object.
createObject(String, Properties) - Static method in class com.componio.jlicensure.shared.ObjectFactory
Creates the object of the given name, sets the given properties object and returns the object.

D

decode(InputStream) - Method in interface com.componio.jlicensure.shared.Decoder
Decode/read an object from the given input stream.
Decoder - Interface in com.componio.jlicensure.shared
Generic object decoding interface

E

encode(OutputStream, Object) - Method in interface com.componio.jlicensure.shared.Encoder
Encode the given object.
Encoder - Interface in com.componio.jlicensure.shared
The server-side encoder.

G

getCommand() - Method in interface com.componio.jlicensure.shared.SignedCommand
Retrieves the encapsulated object.
getLicenseeData() - Method in interface com.componio.jlicensure.shared.LicenseRequest
Getter for property licenseeData.
getLicenseGrant() - Method in interface com.componio.jlicensure.server.JLicensureServer
Get the license grant interface
getLicenseRequest() - Method in exception com.componio.jlicensure.shared.LicenseNotGrantedException
Getter for property licenseRequest.
getLicenseStorage() - Method in interface com.componio.jlicensure.server.JLicensureServer
Get the license storage used by the server.
getObjectClassLoader() - Static method in class com.componio.jlicensure.shared.ObjectFactory
Get the class loader used for loading objects
getProperties() - Method in interface com.componio.jlicensure.shared.LicenseeData
Get the licensee's properties.
getProperty(String) - Method in interface com.componio.jlicensure.shared.LicenseeData
Get a specific property value.
getSignature() - Method in interface com.componio.jlicensure.shared.License
Get the license signature
getToken() - Method in interface com.componio.jlicensure.shared.LicenseRequest
Getter for property token.
grantLicense(LicenseRequest) - Method in interface com.componio.jlicensure.server.JLicensureServer
The main operation of the licensure server is to grant licenses for given license requests.

H

handleCommand(Command) - Method in interface com.componio.jlicensure.server.CommandHandler
Handle the given command and return a generic result object.

I

InvalidSignatureException - Exception in com.componio.jlicensure.shared
Exception type for invalid signatures.
InvalidSignatureException() - Constructor for exception com.componio.jlicensure.shared.InvalidSignatureException
Creates a new instance of InvalidCommandSignature without detail message.
InvalidSignatureException(String) - Constructor for exception com.componio.jlicensure.shared.InvalidSignatureException
Constructs an instance of InvalidCommandSignature with the specified detail message.
isAllowed(LicenseRequest) - Method in interface com.componio.jlicensure.server.LicenseGrant
Should a license be granted for the given request?
isAuthoritative() - Method in interface com.componio.jlicensure.shared.License
Indicates whether this license is authoritative or not

J

JLicensureServer - Interface in com.componio.jlicensure.server
Interface defining the JLicensure server.

L

License - Interface in com.componio.jlicensure.shared
A license is a signed license request
LicenseeData - Interface in com.componio.jlicensure.shared
Generic interface holding licensee data.
LicenseGrant - Interface in com.componio.jlicensure.server
LicenseGrant interface.
licenseGranted(License) - Method in interface com.componio.jlicensure.server.LicenseGrant
Notify about a license being granted
LicenseNotGrantedException - Exception in com.componio.jlicensure.shared
LicenseNotGrantedException class.
LicenseNotGrantedException() - Constructor for exception com.componio.jlicensure.shared.LicenseNotGrantedException
Creates a new instance of LicenseNotGrantedException without detail message.
LicenseNotGrantedException(LicenseRequest) - Constructor for exception com.componio.jlicensure.shared.LicenseNotGrantedException
Creates a new instance of LicenseNotGrantedException without detail message.
LicenseNotGrantedException(LicenseRequest, String) - Constructor for exception com.componio.jlicensure.shared.LicenseNotGrantedException
Constructs an instance of LicenseNotGrantedException with the specified detail message.
LicenseRequest - Interface in com.componio.jlicensure.shared
A license request consists of the licensee data describing the licensee and a unique data token to be part of the issued license.
LicenseStorage - Interface in com.componio.jlicensure.server
The license storage interface.

O

ObjectFactory - Class in com.componio.jlicensure.shared
Creates generic PropertiesSettable objects by class name.
ObjectFactory() - Constructor for class com.componio.jlicensure.shared.ObjectFactory
 

P

PropertiesSettable - Interface in com.componio.jlicensure.shared
Generic interface for objects that provide a setProperties method.

R

readLicense(LicenseRequest) - Method in interface com.componio.jlicensure.server.LicenseStorage
Retrieve the license for the given license request data from the storage.
removeLicenseeData(LicenseeData) - Method in interface com.componio.jlicensure.server.JLicensureServer
Remove the given licensee data from this server instance and its storage.
removeLicenseeData(LicenseeData) - Method in interface com.componio.jlicensure.server.LicenseStorage
Remove the given licensee information from the storage.

S

setLicenseGrant(LicenseGrant) - Method in interface com.componio.jlicensure.server.JLicensureServer
Set the license grant interface
setLicenseRequest(LicenseRequest) - Method in exception com.componio.jlicensure.shared.LicenseNotGrantedException
Setter for property licenseRequest.
setLicenseStorage(LicenseStorage) - Method in interface com.componio.jlicensure.server.JLicensureServer
Set the license storage to be used by the server.
setLicensureServer(JLicensureServer) - Method in interface com.componio.jlicensure.server.CommandHandler
Set the licensure server instance.
setLicensureServer(JLicensureServer) - Method in interface com.componio.jlicensure.server.LicenseGrant
Set the licensure server instance.
setLicensureServer(JLicensureServer) - Method in interface com.componio.jlicensure.server.LicenseStorage
Set the licensure server instance.
setProperties(Properties) - Method in interface com.componio.jlicensure.server.Accepter
Additional properties may be set through this method, usually before the start method is called.
setProperties(Properties) - Method in interface com.componio.jlicensure.server.JLicensureServer
Set additional properties that may be used by an implementation.
setProperties(Properties) - Method in interface com.componio.jlicensure.server.LicenseStorage
Set additional properties that may be used by an implementation.
setProperties(Properties) - Method in interface com.componio.jlicensure.shared.PropertiesSettable
Set properties
setProperty(String, String) - Method in interface com.componio.jlicensure.shared.LicenseeData
Set a specific property value.
SignedCommand - Interface in com.componio.jlicensure.shared
A signed command.
start(CommandHandler) - Method in interface com.componio.jlicensure.server.Accepter
Start receiving commands and pass them on to the given command handler.

T

toHashBytes() - Method in interface com.componio.jlicensure.shared.LicenseeData
Create a unique hash calculated from the licensee data contained in this class
toHashString() - Method in interface com.componio.jlicensure.shared.LicenseeData
Create a unique hash string calculated from the licensee data contained in this class

V

verify(PublicKey, Signature) - Method in interface com.componio.jlicensure.shared.SignedCommand
Verifies that the signature in this SignedObject is the valid signature for the object stored inside, with the given verification key, using the designated verification engine.
verifyCommand(SignedCommand) - Method in interface com.componio.jlicensure.server.JLicensureServer
Verify the given signed command

W

writeLicense(License) - Method in interface com.componio.jlicensure.server.LicenseStorage
Store the given license

A C D E G H I J L O P R S T V W