|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.ServerInitializer
public class ServerInitializer
Title: ServerInitializer
Description: ServerInitializer initializes ArcObjects for Java for usage in ArcGIS Server
Copyright: Copyright (c) 2003
Company: ESRI
Constructor Summary | |
---|---|
ServerInitializer()
Constructs the EngineInitialiser with default options. |
Method Summary | |
---|---|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
|
void |
init()
Initialize ArcObjects with options set previously by calling setXxx() methods. |
void |
initializeServer()
Initialize ArcObjects with options optimal for usage in a ArcGIS Server |
void |
initializeServer(String domain,
String user,
String password)
Initialize ArcObjects with options optimal for usage in a ArcGIS Server, setting the authentification to be used by default if none is specified when creating or using a ArcObjects Java component. |
void |
release()
|
void |
release(Object anObject)
Release a specific reference to a COM object. |
void |
releaseAll()
Release all outstanding references to COM objects. |
void |
releaseAllInCurrentThread()
Tell the runtime to release all objects used in the current thread since the last 'trackObjectsInCurrentThread' call. |
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 |
setServerUsage()
Sets the default usage for using the ArcGIS server. |
void |
setShutdownHook(boolean shutdownHook)
Causes the runtime to release COM references when the JVM shuts down normally like when Ctrl- C is pressed |
void |
setThreadDefault(String domain,
String user,
String password)
Set the setThreadDefault authentification. |
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 |
Constructor Detail |
---|
public ServerInitializer()
Method Detail |
---|
public void setShutdownHook(boolean shutdownHook)
shutdownHook
- set to true
if shutdownHook is to
be enabled.public void setServerUsage()
init()
method should be called to actually initialize the engine with these
options
public void init()
setXxx()
methods.
public void initializeServer()
public void initializeServer(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 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 void release(Object anObject)
public void releaseAll()
public void releaseAllInCurrentThread()
public void trackObjectsInCurrentThread()
public void setThreadDefault(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 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |