public class LicasModule
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<java.lang.String> |
jarFile
A list of jar files required to load in this service.
|
protected java.lang.Object |
syncOn
To synchronize this service internally on
|
protected java.lang.String |
uuid
This is the ID of the component
|
Constructor and Description |
---|
LicasModule()
Creates a new instance of LicasModule.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
getJarFile()
Get the list of jar files required to load the service.
|
java.lang.String |
getUUID()
Get the unique service ID.
|
java.lang.Object |
loadObject(java.util.ArrayList<java.lang.String> theJarUris,
java.lang.String theClassName,
java.util.ArrayList<java.lang.Object> params)
Create a new instance of the specified object and return.
|
void |
setJarFile(java.util.ArrayList<java.lang.String> theJarFile)
Set the list of jar files required to load the service,
but only if the existing list is null, otherwise it is not changed.
|
void |
setUUID(java.lang.String thisUUID)
Set the ID value, but only if it is null, otherwise it is not changed.
|
java.lang.String |
threadAliveState()
Return if the thread is running or not.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected java.lang.String uuid
protected java.util.ArrayList<java.lang.String> jarFile
protected final java.lang.Object syncOn
public java.lang.Object loadObject(java.util.ArrayList<java.lang.String> theJarUris, java.lang.String theClassName, java.util.ArrayList<java.lang.Object> params) throws java.lang.Exception
theJarUris
- uris from which the remote object can be loaded, only if needed.theClassName
- the name of the class.params
- initialisation parameters.java.lang.Exception
- any error.public java.lang.String threadAliveState()
public void setUUID(java.lang.String thisUUID)
thisUUID
- the ID.public java.lang.String getUUID()
public void setJarFile(java.util.ArrayList<java.lang.String> theJarFile)
theJarFile
- the jar file list. Values are jar paths of type String.public java.util.ArrayList<java.lang.String> getJarFile()