Package com.senzing.g2.engine
Class G2SSAdminJNI
- java.lang.Object
-
- com.senzing.g2.engine.G2SSAdminJNI
-
- All Implemented Interfaces:
G2Fallible
,G2SSAdmin
public class G2SSAdminJNI extends Object implements G2SSAdmin
Implements theG2SSAdmin
interface to call the native function implementations.
-
-
Constructor Summary
Constructors Constructor Description G2SSAdminJNI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearLastException()
Clears the information about the last error the system received.String
createSaltInStore(String soPin, String name, String method)
int
destroy()
String
getLastException()
Returns a string about the last error the system received.int
getLastExceptionCode()
Returns the exception code of the last error the system received.int
initializeNewToken(String defaultSOPin, String newSOPin, String label)
int
initV2(String moduleName, String iniParams, boolean verboseLogging)
int
list(StringBuffer response)
int
put(String soPin, String label, String value)
int
reinitializeToken(String soPin, String label)
int
setupStore(String soPin)
-
-
-
Method Detail
-
initializeNewToken
public int initializeNewToken(String defaultSOPin, String newSOPin, String label)
- Specified by:
initializeNewToken
in interfaceG2SSAdmin
-
reinitializeToken
public int reinitializeToken(String soPin, String label)
- Specified by:
reinitializeToken
in interfaceG2SSAdmin
-
setupStore
public int setupStore(String soPin)
- Specified by:
setupStore
in interfaceG2SSAdmin
-
list
public int list(StringBuffer response)
-
createSaltInStore
public String createSaltInStore(String soPin, String name, String method)
- Specified by:
createSaltInStore
in interfaceG2SSAdmin
-
getLastException
public String getLastException()
Returns a string about the last error the system received. This is most commonly called after an API function returns an error code (non-zero or NULL)- Specified by:
getLastException
in interfaceG2Fallible
- Returns:
- An error message
-
getLastExceptionCode
public int getLastExceptionCode()
Returns the exception code of the last error the system received. This is most commonly called after an API function returns an error code (non-zero or NULL)- Specified by:
getLastExceptionCode
in interfaceG2Fallible
- Returns:
- An error code
-
clearLastException
public void clearLastException()
Clears the information about the last error the system received.- Specified by:
clearLastException
in interfaceG2Fallible
-
-