|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jacob.com.ComThread
public abstract class ComThread
Field Summary | |
---|---|
static boolean |
haveSTA
|
static MainSTA |
mainSTA
|
Constructor Summary | |
---|---|
ComThread()
|
Method Summary | |
---|---|
static void |
doCoInitialize(int threadModel)
|
static void |
doCoUninitialize()
|
static void |
Init(boolean createMainSTA,
int mode)
Initialize the current java thread to be part of the MTA/STA COM Apartment |
static void |
InitMTA()
Initialize the current java thread to be part of the Multi-threaded COM Apartment |
static void |
InitMTA(boolean createMainSTA)
Initialize the current java thread to be part of the Multi-threaded COM Apartment, if createMainSTA is true, create a separate MainSTA thread that will house all Apartment Threaded components |
static void |
InitSTA()
Initialize the current java thread to be an STA |
static void |
InitSTA(boolean createMainSTA)
Initialize the current java thread to be an STA COM Apartment, if createMainSTA is true, create a separate MainSTA thread that will house all Apartment Threaded components |
static void |
quitMainSTA()
|
static void |
Release()
Call CoUninitialize to release this java thread from COM |
static void |
startMainSTA()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean haveSTA
public static MainSTA mainSTA
Constructor Detail |
---|
public ComThread()
Method Detail |
---|
public static void InitMTA()
public static void InitSTA()
public static void InitMTA(boolean createMainSTA)
public static void InitSTA(boolean createMainSTA)
public static void startMainSTA()
public static void quitMainSTA()
public static void Init(boolean createMainSTA, int mode)
public static void Release()
public static void doCoInitialize(int threadModel)
public static void doCoUninitialize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |