com.esri.arcgis.server
Interface IServerObjectFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
ServerObjectFactory

public interface IServerObjectFactory
extends Serializable

Provides access to the method used to create a server object outside a server object container.

Remarks

Server objects and their extensions can be used in ArcGIS for Server applications, in which case the server object manager creates and manages instances of the server object and its extensions in process running within the server. Server objects and their extensions support coarse-grained methods that do large amounts of work.

Because they are COM objects, server objects and their extensions can be used in ArcGIS Engine or ArcGIS for Desktop applications. The IServerObjectFactory interface allows you to create an instance of a server object and any enabled extensions for use in such applications.

Use the CreateServerObject method to create an instance of a server object

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IServerObject createServerObject(String cLSID, String cfgName, String cfgType)
          Creates a server object outside of the server environment.
 

Method Detail

createServerObject

IServerObject createServerObject(String cLSID,
                                 String cfgName,
                                 String cfgType)
                                 throws IOException,
                                        AutomationException
Creates a server object outside of the server environment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
cLSID - The cLSID (in)
cfgName - The cfgName (in)
cfgType - The cfgType (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.