|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuicc.scws.ScwsExtensionRegistry
public class ScwsExtensionRegistry
Registry which handles the registration and deregistration of applications and their associated callback objects to the SCWS.
| Method Summary | |
|---|---|
static void |
deregister(ScwsExtension scwsExtension)
Deregisters a ScwsExtension from the Smart Card Webserver. |
static void |
register(ScwsExtension scwsExtension,
byte[] appId,
short offset,
short length)
Registers an ScwsExtension with the given name to the SCWS. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void register(ScwsExtension scwsExtension,
byte[] appId,
short offset,
short length)
throws ScwsException,
java.lang.NullPointerException,
java.lang.ArrayIndexOutOfBoundsException
ScwsExtension with the given name to the SCWS. The
application has to provide an object which is responsible for handling the HTTP
requests.
scwsExtension - the object handling the HTTP requestsappId - the name of the applicationoffset - the offset to the namelength - the length of the name
java.lang.NullPointerException - if scwsExtension or
appID is equal to null.
java.lang.ArrayIndexOutOfBoundsException - if offset
or length or both would cause access outside of the array bounds,
or if length is negative
ScwsException - with reason SCWSEXTENSION_REGISTRY_ERRORif the appId is already registered
public static void deregister(ScwsExtension scwsExtension)
throws ScwsException,
java.lang.NullPointerException,
java.lang.SecurityException
ScwsExtension from the Smart Card Webserver.
scwsExtension - the extension to deregister
java.lang.NullPointerException - if scwsExtension is equal to null
ScwsException - with reason SCWSEXTENSION_REGISTRY_ERROR if the scwsExtension has not been registered before
java.lang.SecurityException - if the caller has not the same JCRE context than the
one that was used to register the application.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||