public interface IServerContext
extends java.io.Serializable
Generated using ArcGIS Proxy Generator
Description: 'Provides access to members for managing a server context, and the objects running within that server context.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDa87fdd99_6112_410c_b75e_fefff5eace35 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createObject(java.lang.Class classDef)
Create an instance of an ArcGIS Java extension in the server context whose class definition is specified by classDef.
|
java.lang.Object |
createObject(java.lang.String cLSID)
Create an object in the server context whose type is specified by the CLSID.
|
java.lang.Object |
getObject(java.lang.String name)
Get a reference to an object in the server context's object dictionary by its Name.
|
IServerObject |
getServerObject()
The map or geocode server object running in the server context.
|
java.lang.Object |
loadObject(java.lang.String str)
Create an object in the server context from a string that was created by saving an object using SaveObject.
|
void |
releaseContext()
Release the server context back to the server so it can be used by another client (if pooled), or so it can be destroyed (if non-pooled).
|
void |
remove(java.lang.String name)
Remove an object from the server context's object dictionary.
|
void |
removeAll()
Remove all objects from the server context's object dictionary.
|
java.lang.String |
saveObject(java.lang.Object obj)
Save an object in the server context to a string.
|
void |
setObject(java.lang.String name,
java.lang.Object obj)
Add an object running in the server context to the context's object dictionary.
|
static final int IIDa87fdd99_6112_410c_b75e_fefff5eace35
static final int xxDummy
static final java.lang.String IID
IServerObject getServerObject() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object createObject(java.lang.String cLSID) throws java.io.IOException, AutomationException
cLSID
- The cLSID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object createObject(java.lang.Class classDef) throws java.io.IOException, AutomationException
classDef
- The class definition of an ArcGIS Java extension (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object loadObject(java.lang.String str) throws java.io.IOException, AutomationException
str
- The str (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String saveObject(java.lang.Object obj) throws java.io.IOException, AutomationException
obj
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object getObject(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setObject(java.lang.String name, java.lang.Object obj) throws java.io.IOException, AutomationException
name
- The name (in)obj
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void remove(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void removeAll() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void releaseContext() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.