|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerObject
public class ServerObject
The ServerObject object which runs within a server context in the GIS server.
A ServerObject is a coarse-grained ArcObjects object, that is a high-level object that simplifies the programming model for doing certain operations and hides the fine-grained ArcObjects that do the work. Server objects support coarse-grained interfaces that support methods that do large units of work, such as “draw a map”, or “geocode a set of addresses”. ServerObjects also have SOAP interfaces that make it possible to expose server objects as web services that can be consumed by clients across the internet.
ArcGIS for Server has two ServerObjects: MapServer and GeocodeServer.
ServerObjectManager
,
ServerObjectType
,
IAGSServerConnectionAdmin
,
AGSServerConnectionName
,
IEnumServerObjectType
,
IEnumServerDirectory
,
AGSServerConnection
,
IServerConnection
,
AGSLocatorWorkspace
,
ServerObjectTypeInfo
,
IEnumServerObjectTypeInfo
,
IAGSServerObject
,
GeocodeServer
,
ServerDirectoryInfo
,
ServerObjectConfiguration
,
ServerContext
,
ServerObjectConfigurationStatus
,
IAGSServerObjectName
,
ServerConnection
,
ILocatorManager2.getAGSLocatorWorkspace(com.esri.arcgis.gisclient.IAGSServerConnectionName)
,
IAGSServerConnectionName
,
IAGSEnumServerObjectName
,
ServerObject
,
IServerObjectConfigurationInfo
,
IServerObjectAdmin
,
AGSServerConnectionFactory
,
IAGSServerConnectionFactory
,
IEnumServerObjectConfigurationInfo
,
ILocatorWorkspaceName2.getAGSServerConnectionName()
,
IGISServerConnection
,
IAGSServerConnection
,
IServerContext
,
ServerDirectory
,
ServerObjectConfigurationInfo
,
IEnumServerMachine
,
ServerMachine
,
IServerObjectConfiguration
,
IServerObjectManager
,
IServerObjectTypeInfo
,
IServerMachine
,
IServerObject
,
IServerObjectType
,
AGSAddressLocator
,
GISServerConnection
,
AGSServerObjectName
,
ServerObjectAdmin
,
IEnumServerObjectConfiguration
,
Serialized FormField Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IObjectActivate |
---|
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy |
Constructor Summary | |
---|---|
ServerObject(Object obj)
Construct a ServerObject using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
activate()
Activates the object. |
void |
construct(IPropertySet props)
Two phase object construction. |
void |
deactivate()
Deactivates the object. |
boolean |
equals(Object o)
Compare this object with another |
IServerObjectExtension |
findExtensionByCLSID(String cLSID)
Returns a server object extension found using a string representation of its class ID. |
IServerObjectExtension |
findExtensionByTypeName(String name)
Returns a server object extension found using its type name. |
String |
getConfigurationName()
Name of the server object configuration that defines the server object. |
String |
getTypeName()
Type of the server object (MapServer or GeocodeServer). |
int |
hashCode()
the hashcode for this object |
void |
initLogging(ILog log)
Initializes an object with a log. |
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 ServerObject(Object obj) throws IOException
obj
to ServerObject
. *
ServerObject o = (ServerObject)obj; // will not work
ServerObject o = new ServerObject(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ServerObject theServerObject = (ServerObject) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getConfigurationName() throws IOException, AutomationException
getConfigurationName
in interface IServerObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTypeName() throws IOException, AutomationException
getTypeName
in interface IServerObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByCLSID(String cLSID) throws IOException, AutomationException
findExtensionByCLSID
in interface IServerObjectExtensionManager
cLSID
- The cLSID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtension findExtensionByTypeName(String name) throws IOException, AutomationException
findExtensionByTypeName
in interface IServerObjectExtensionManager
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void construct(IPropertySet props) throws IOException, AutomationException
construct
in interface IObjectConstruct
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activate() throws IOException, AutomationException
activate
in interface IObjectActivate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws IOException, AutomationException
deactivate
in interface IObjectActivate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initLogging(ILog log) throws IOException, AutomationException
initLogging
in interface ILogSupport
log
- A reference to a com.esri.arcgis.system.ILog (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 |