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 theG2SSAdmininterface 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 voidclearLastException()Clears the information about the last error the system received.StringcreateSaltInStore(String soPin, String name, String method)intdestroy()StringgetLastException()Returns a string about the last error the system received.intgetLastExceptionCode()Returns the exception code of the last error the system received.intinitializeNewToken(String defaultSOPin, String newSOPin, String label)intinitV2(String moduleName, String iniParams, boolean verboseLogging)intlist(StringBuffer response)intput(String soPin, String label, String value)intreinitializeToken(String soPin, String label)intsetupStore(String soPin)
-
-
-
Method Detail
-
initializeNewToken
public int initializeNewToken(String defaultSOPin, String newSOPin, String label)
- Specified by:
initializeNewTokenin interfaceG2SSAdmin
-
reinitializeToken
public int reinitializeToken(String soPin, String label)
- Specified by:
reinitializeTokenin interfaceG2SSAdmin
-
setupStore
public int setupStore(String soPin)
- Specified by:
setupStorein interfaceG2SSAdmin
-
list
public int list(StringBuffer response)
-
createSaltInStore
public String createSaltInStore(String soPin, String name, String method)
- Specified by:
createSaltInStorein 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:
getLastExceptionin 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:
getLastExceptionCodein interfaceG2Fallible- Returns:
- An error code
-
clearLastException
public void clearLastException()
Clears the information about the last error the system received.- Specified by:
clearLastExceptionin interfaceG2Fallible
-
-