|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitidus.wt.fastload.cThreadWorker
Class that takes entry from the CP and calls load to Windchill methods
Field Summary | |
private cLoadThreadResult |
fResult
|
private cCPThreadEntry |
fTask
|
(package private) static boolean |
SERVER
|
private static String |
SERVICE_NAME
|
Constructor Summary | |
cThreadWorker(cCPThreadEntry task)
Constructor |
Method Summary | |
private Hashtable |
createNVHashtable(String[] tokens,
String[] data)
Helper function that creates a hash table by using array of tokens and array of data |
cLoadThreadResult |
getResult()
get the result of lading |
private void |
initiateCache()
Initiate cashe for Windchill |
void |
run()
Do the loading, invoke the methods inside the windhill Takes an entry from the java space and invokes functions specified by that entry |
private Vector |
tokenizeVector(Vector methodsAndArgs)
Helper function that will take a vector of stirngs and create a Vector of Vectors(tokens) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String SERVICE_NAME
private cCPThreadEntry fTask
private cLoadThreadResult fResult
Constructor Detail |
public cThreadWorker(cCPThreadEntry task)
Method Detail |
private Hashtable createNVHashtable(String[] tokens, String[] data)
tokens
- - key words for the hash tabledata
-
public cLoadThreadResult getResult()
private void initiateCache() throws WTException
WTException
public void run()
private Vector tokenizeVector(Vector methodsAndArgs)
methodsAndArgs
- vector of strings (shortened line from CSV file.. strarts with method name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |