|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.Server
public class Server
The Server object for connecting to the GIS server and getting the ServerObjectManager and ServerObjectAdmin.
The Server class is intended only for use by the web controls that are included as part of the Application Developer Framework for ArcGIS Server. To learn more about these controls, refer to the ArcGIS Server developer documentation.
Constructor Summary | |
---|---|
Server()
Constructs a Server using ArcGIS Engine. |
|
Server(Object obj)
Construct a Server using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IServerObjectAdmin |
getServerObjectAdmin()
Gets the server object admin for the connected GIS server. |
IServerObjectManager |
getServerObjectManager()
Gets the server object manager for the connected GIS server. |
IServerObjectManager |
getServerObjectManager2(String userInfo)
Gets the server objcet manager of the connected ArcGIS server for the user specified by userInfo. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public Server() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic Server(Object obj) throws IOException
obj
to Server
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
Server theServer = (Server) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IServerObjectManager getServerObjectManager() throws IOException, AutomationException
getServerObjectManager
in interface IServer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectAdmin getServerObjectAdmin() throws IOException, AutomationException
getServerObjectAdmin
in interface IServer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectManager getServerObjectManager2(String userInfo) throws IOException, AutomationException
getServerObjectManager2
in interface IServer2
userInfo
- The userInfo (in)
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 |