|
Remote System Explorer DataStore Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.eclipse.dstore.core.server.SecuredThread
public class SecuredThread
Field Summary | |
---|---|
DataStore |
_dataStore
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SecuredThread()
Constructs a new SecuredThread without a DataStore. |
|
SecuredThread(DataStore dataStore)
Constructs a new SecuredThread given a DataStore. |
|
SecuredThread(Runnable runnable,
DataStore dataStore)
Constructs a new SecuredThread with a DataStore and a runnable. |
|
SecuredThread(Runnable runnable,
String threadName,
DataStore dataStore)
Constructs a new SecuredThread with a DataStore, a runnable and name for the thread. |
|
SecuredThread(ThreadGroup group,
Runnable runnable,
DataStore dataStore)
Constructs a new SecuredThread with a DataStore, a runnable and a ThreadGroup. |
|
SecuredThread(ThreadGroup group,
Runnable runnable,
String threadName,
DataStore dataStore)
Constructs a new SecuredThread with a DataStore, a runnable, a name and a ThreadGroup. |
Method Summary | |
---|---|
void |
run()
When run() is called, a check is made to see if there is an ISystemService. |
void |
setDataStore(DataStore dataStore)
Sets the DataStore associated with the client |
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 DataStore _dataStore
Constructor Detail |
---|
public SecuredThread()
setDataStore(DataStore)
.
public SecuredThread(DataStore dataStore)
dataStore
- used to extract user id and password for a clientpublic SecuredThread(Runnable runnable, DataStore dataStore)
runnable
- the runnable to be executed by the threaddataStore
- used to extract user id and password for a clientpublic SecuredThread(Runnable runnable, String threadName, DataStore dataStore)
runnable
- the runnable to be executed by the threadthreadName
- the name for the SecuredThread being createddataStore
- used to extract user id and password for a clientpublic SecuredThread(ThreadGroup group, Runnable runnable, DataStore dataStore)
group
- the thread group for which this thread will belongrunnable
- the runnable to be executed by the threaddataStore
- used to extract user id and password for a clientpublic SecuredThread(ThreadGroup group, Runnable runnable, String threadName, DataStore dataStore)
group
- the thread group for which this thread will belongrunnable
- the runnable to be executed by the threadthreadName
- the name for the SecuredThread being createddataStore
- used to extract user id and password for a clientMethod Detail |
---|
public void setDataStore(DataStore dataStore)
dataStore
- public void run()
ISystemService.setThreadSecurity(Client)
is called before Thread.run()
is called.
If a Runnable was passed into the constructor for SecuredThread then, when Thread.run()
is called, the Runnable will be invoked.
run
in interface Runnable
run
in class Thread
|
Remote System Explorer DataStore Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |