public class ServerInitializer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef
Title: ServerInitializer
Description: ServerInitializer initializes ArcObjects for Java for usage in ArcGIS Server
Copyright: Copyright (c) 2003
Company: ESRI
Constructor and Description |
---|
ServerInitializer()
Constructs the EngineInitialiser with default options.
|
Modifier and Type | Method and Description |
---|---|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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(java.lang.String domain,
java.lang.String user,
java.lang.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()
Release this COM object reference
|
void |
release(java.lang.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(java.lang.String domain,
java.lang.String user,
java.lang.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(java.lang.String domain,
java.lang.String user,
java.lang.String password)
Set the setThreadDefault authentification.
|
void |
trackObjectsInCurrentThread()
Tell the runtime to remember all objects used in the current thread.
|
public ServerInitializer()
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
optionspublic void init()
setXxx()
methods.public void initializeServer()
public void initializeServer(java.lang.String domain, java.lang.String user, java.lang.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(java.lang.String domain, java.lang.String user, java.lang.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(java.lang.Object anObject)
public void releaseAll()
public void releaseAllInCurrentThread()
public void trackObjectsInCurrentThread()
public void setThreadDefault(java.lang.String domain, java.lang.String user, java.lang.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