|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.EngineInitializer
public class EngineInitializer
Title: EngineInitializer
Description: EngineInitializer initializes ArcObjects for Java for usage in ArcGIS Engine
Copyright: Copyright (c) 2003
Company: ESRI
Field Summary | |
---|---|
static boolean |
isInitVisualBeans
|
static boolean |
noMTASTACommunication
|
static boolean |
setVersion
|
Method Summary | |
---|---|
void |
init()
Initialize the ArcObjects for Java with options set previously by calling setXxx() methods. |
static void |
initializeEngine()
Initialize the ArcObjects for Java with options optimal for usage in a ArcGIS Engine |
static void |
initializeVisualBeans()
Initialize ArcObjects for Java with options optimal for using visual Java Beans in ArcGIS Engine. |
static void |
release(Object anObject)
Release a specific reference to a COM object. |
static void |
releaseAll()
Release all outstanding references to COM objects. |
static void |
releaseAllInCurrentThread()
Tell the runtime to release all objects used in the current thread since the last 'trackObjectsInCurrentThread' call. |
void |
setBeanUsage(boolean beanUsage)
Indicates whether visual ArcObjects for Java beans are used |
static void |
setDefault(String domain,
String user,
String password)
Set the authentification to be used by default if none is specified when creating or using a ArcObjects Java component |
void |
setEngineUsage()
Sets the default usage for using the ArcGIS ArcObjects for Java. |
void |
setNativeMode(boolean nativeMode)
Indicates whether native mode is used. |
void |
setShutdownHook(boolean shutdownHook)
Causes the runtime to release COM references when the JVM shuts down normally like when Ctrl- C is pressed |
static void |
trackObjectsInCurrentThread()
Tell the runtime to remember all objects used in the current thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean isInitVisualBeans
public static boolean noMTASTACommunication
public static boolean setVersion
Method Detail |
---|
public void setBeanUsage(boolean beanUsage)
beanUsage
- set to true
if visual ArcEngine java
beans are to be usedpublic void setNativeMode(boolean nativeMode)
nativeMode
- set to true
if native mode is to
be used.public void setShutdownHook(boolean shutdownHook)
shutdownHook
- set to true
if shutdownHook is to
be enabled.public void setEngineUsage()
init()
method
should be called to actually initialize the ArcObjects for Java with these options
public void init()
setXxx()
methods.
public static void initializeEngine()
public static void initializeVisualBeans()
initializeEngine
public static void setDefault(String domain, String user, String password)
domain
- - the domain to be used when authenticating using default authentificationuser
- - the user to be used when authenticating using default authentificationpassword
- - the password to be used when authenticating using default authentificationpublic static void release(Object anObject)
public static void releaseAll()
public static void releaseAllInCurrentThread()
public static void trackObjectsInCurrentThread()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |