public class IServerContextProxy extends com.esri.arcgis.interop.Dispatch implements IServerContext, 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.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRefIID, IIDa87fdd99_6112_410c_b75e_fefff5eace35| Modifier | Constructor and Description |
|---|---|
|
IServerContextProxy()
For internal use only
|
|
IServerContextProxy(java.lang.Object obj) |
protected |
IServerContextProxy(java.lang.Object obj,
java.lang.String iid) |
|
IServerContextProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
IServerContextProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
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.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
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.
|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternalpublic IServerContextProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionpublic IServerContextProxy()
public IServerContextProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected IServerContextProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOExceptionprotected IServerContextProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
java.io.IOExceptionpublic void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
com.esri.arcgis.interop.DispatchaddListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the eventsjava.io.IOExceptionpublic void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
com.esri.arcgis.interop.DispatchremoveListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the eventsjava.io.IOExceptionpublic IServerObject getServerObject() throws java.io.IOException, AutomationException
getServerObject in interface IServerContextjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object createObject(java.lang.String cLSID)
throws java.io.IOException,
AutomationException
createObject in interface IServerContextcLSID - The cLSID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object createObject(java.lang.Class classDef)
throws java.io.IOException,
AutomationException
createObject in interface IServerContextclassDef - 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.public java.lang.Object loadObject(java.lang.String str)
throws java.io.IOException,
AutomationException
loadObject in interface IServerContextstr - The str (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String saveObject(java.lang.Object obj)
throws java.io.IOException,
AutomationException
saveObject in interface IServerContextobj - A reference to another Object (IUnknown) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object getObject(java.lang.String name)
throws java.io.IOException,
AutomationException
getObject in interface IServerContextname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setObject(java.lang.String name,
java.lang.Object obj)
throws java.io.IOException,
AutomationException
setObject in interface IServerContextname - 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.public void remove(java.lang.String name)
throws java.io.IOException,
AutomationException
remove in interface IServerContextname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeAll()
throws java.io.IOException,
AutomationException
removeAll in interface IServerContextjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void releaseContext()
throws java.io.IOException,
AutomationException
releaseContext in interface IServerContextjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.