|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.ssonet.util.Preload
Initializes Secure random number generation and registers Bouncycastle as a security provider.
Field Summary | |
static boolean |
debug
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
Preload()
Starts the preload of needed security providers, secure random initialization and preload of some security mechanism classes. |
|
Preload(org.ssonet.util.PreloadListener pl)
Runs the preload of needed security providers, secure random initialization and preload of some security mechanism classes. |
Method Summary | |
void |
run()
Actually runs the preload activities. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static boolean debug
Constructor Detail |
public Preload()
For testing purposes, initialization if secure random objects can be skipped by defining a system property "preload=testing".
public Preload(org.ssonet.util.PreloadListener pl)
For testing purposes, initialization if secure random objects can be skipped by defining a system property "preload=testing".
pl
- the PreloadListener to registerMethod Detail |
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |