com.esri.arcgis.server
Interface IConfigurationFactory

All Superinterfaces:
Serializable
All Known Subinterfaces:
IConfigurationFactory2
All Known Implementing Classes:
ConfigFactory, GeoDataServerConfigurationFactory, GlobeServerConfigurationFactory, GPServerConfigurationFactory, ImageServerConfigurationFactory, MapServerConfigurationFactory

public interface IConfigurationFactory
extends Serializable

Provides access to members that can be called during server object configuration events.

Superseded By

IConfigurationFactory2

Product Availability

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


Method Summary
 IPropertySet onAdd(IServerObjectAdmin pAdmin, IPropertySet pProps)
          Is called when the configuration is added.
 void onRemove()
          Is called when the configuration is removed.
 void onStart(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called when the configuration is started.
 void onStop(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called when the configuration is stopped.
 

Method Detail

onAdd

IPropertySet onAdd(IServerObjectAdmin pAdmin,
                   IPropertySet pProps)
                   throws IOException,
                          AutomationException
Is called when the configuration is added.

Product Availability

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

Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
pProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRemove

void onRemove()
              throws IOException,
                     AutomationException
Is called when the configuration is removed.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStart

void onStart(IServerObjectAdmin pAdmin,
             IPropertySet props)
             throws IOException,
                    AutomationException
Is called when the configuration is started.

Product Availability

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

Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStop

void onStop(IServerObjectAdmin pAdmin,
            IPropertySet props)
            throws IOException,
                   AutomationException
Is called when the configuration is stopped.

Product Availability

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

Parameters:
pAdmin - A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.