| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.server.ServerContext
public class ServerContext
COM Class 'ServerContext'. Generated 7/9/2008 10:23:11 AM from 'C:\ArcGIS\Java\JavaEngine\buildoutput\olb\esriServer.olb'
Generated using ArcGIS Proxy Generator
Description 'The ServerContext object used for working with ArcObjects in the GIS server.' 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 | 
|---|
| Fields inherited from interface com.esri.arcgis.server.IServerContext | 
|---|
IID, IIDa87fdd99_6112_410c_b75e_fefff5eace35, xxDummy | 
| Constructor Summary | |
|---|---|
ServerContext(Object obj)
Construct a ServerContext using a reference to such an object returned from ArcGIS Engine or Server.  | 
|
| Method Summary | |
|---|---|
 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.  | 
 boolean | 
equals(Object o)
Compare this object with another  | 
 com.esri.arcgis.interop.Dispatch | 
getJintegraDispatch()
Deprecated. Internal use only.  | 
 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.  | 
 int | 
hashCode()
the hashcode for this object  | 
 Object | 
loadObject(String str)
Create an object in the server context from a string that was created by saving an object using SaveObject.  | 
 void | 
release()
Release a ServerContext.  | 
 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.  | 
 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 java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ServerContext(Object obj)
              throws IOException
obj to ServerContext.   * 
ServerContext o = (ServerContext)obj; // will not work 
 
ServerContext o = new ServerContext(obj); // Use this constructor instead  
    * @param     obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
  ServerContext theServerContext = (ServerContext) obj;| Method Detail | 
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public IServerObject getServerObject()
                              throws IOException,
                                     AutomationException
getServerObject in interface IServerContextIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object createObject(String cLSID)
                    throws IOException,
                           AutomationException
createObject in interface IServerContextcLSID - 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 IServerContextclassDef - 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 IServerContextstr - 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 IServerContextobj - 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 IServerContextname - 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 IServerContextname - 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 IServerContextname - 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 IServerContextIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void releaseContext()
                    throws IOException,
                           AutomationException
releaseContext in interface IServerContextIOException - 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 | ||||||||