|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.server.IServerContextProxy
public class IServerContextProxy
Internal use class Proxy for COM Interface 'IServerContext'. Generated 11/6/2008 5:44:26 PM from 'C:\ArcGIS\COM\esriServer.olb'
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 =
Field Summary | |
---|---|
static Class |
targetClass
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.server.IServerContext |
---|
IID, IIDa87fdd99_6112_410c_b75e_fefff5eace35 |
Constructor Summary | |
---|---|
|
IServerContextProxy()
For internal use only |
|
IServerContextProxy(Object obj)
|
protected |
IServerContextProxy(Object obj,
String iid)
|
|
IServerContextProxy(String CLSID,
String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IServerContextProxy(String CLSID,
String iid,
String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
Object |
createObject(Class classDef)
Create an instance of an ArcGIS Java extension in the server context whose class definition is specified by classDef. |
Object |
createObject(String cLSID)
Create an object in the server context whose type is specified by the CLSID. |
Object |
getObject(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. |
Object |
loadObject(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(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(String iidStr,
Object theListener)
|
String |
saveObject(Object obj)
Save an object in the server context to a string. |
void |
setObject(String name,
Object obj)
Add an object running in the server context to the context's object dictionary. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
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, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Class targetClass
Constructor Detail |
---|
public IServerContextProxy(String CLSID, String host, com.esri.arcgis.interop.AuthInfo authInfo) throws UnknownHostException, IOException
UnknownHostException
IOException
public IServerContextProxy()
public IServerContextProxy(Object obj) throws IOException
IOException
protected IServerContextProxy(Object obj, String iid) throws IOException
IOException
protected IServerContextProxy(String CLSID, String iid, String host, com.esri.arcgis.interop.AuthInfo authInfo) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IServerObject getServerObject() throws IOException, AutomationException
getServerObject
in interface IServerContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object createObject(String cLSID) throws IOException, AutomationException
createObject
in interface IServerContext
cLSID
- The cLSID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object createObject(Class classDef) throws IOException, AutomationException
createObject
in interface IServerContext
classDef
- The class definition of an ArcGIS Java extension (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object loadObject(String str) throws IOException, AutomationException
loadObject
in interface IServerContext
str
- The str (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String saveObject(Object obj) throws IOException, AutomationException
saveObject
in interface IServerContext
obj
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getObject(String name) throws IOException, AutomationException
getObject
in interface IServerContext
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObject(String name, Object obj) throws IOException, AutomationException
setObject
in interface IServerContext
name
- The name (in)obj
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(String name) throws IOException, AutomationException
remove
in interface IServerContext
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IServerContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void releaseContext() throws IOException, AutomationException
releaseContext
in interface IServerContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |