com.esri.arcgis.server
Interface IConfigurationFactory2

All Superinterfaces:
IConfigurationFactory, Serializable
All Known Subinterfaces:
IConfigurationFactory3
All Known Implementing Classes:
FeatureServerConfigurationFactory, GeoDataServerConfigurationFactory, GPServerConfigurationFactory, ImageServerConfigurationFactory, MapServerConfigurationFactory, SearchServerConfigurationFactory

public interface IConfigurationFactory2
extends IConfigurationFactory, Serializable

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

Description

This interface is new at ArcGIS 9.3. It supersedes IConfigurationFactory.

Product Availability

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


Method Summary
 void beforeStart(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called before the configuration is started.
 void beforeStop(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called before the configuration is stopped.
 void onRemoveEx(IServerObjectAdmin pAdmin, IPropertySet props)
          Is called when the configuration is removed.
 
Methods inherited from interface com.esri.arcgis.server.IConfigurationFactory
onAdd, onRemove, onStart, onStop
 

Method Detail

beforeStart

void beforeStart(IServerObjectAdmin pAdmin,
                 IPropertySet props)
                 throws IOException,
                        AutomationException
Is called before 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.

beforeStop

void beforeStop(IServerObjectAdmin pAdmin,
                IPropertySet props)
                throws IOException,
                       AutomationException
Is called before 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.

onRemoveEx

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

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.