com.esri.arcgis.globecore
Class GlobeServerConfigurationFactory

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeServerConfigurationFactory
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IConfigurationFactory, Serializable

public class GlobeServerConfigurationFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IConfigurationFactory

GlobeServer Configuration Factory Class

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GlobeServerConfigurationFactory()
          Constructs a GlobeServerConfigurationFactory using ArcGIS Engine.
GlobeServerConfigurationFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerConfigurationFactory theGlobeServerConfigurationFactory = (GlobeServerConfigurationFactory) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 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.
 
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

GlobeServerConfigurationFactory

public GlobeServerConfigurationFactory()
                                throws IOException,
                                       UnknownHostException
Constructs a GlobeServerConfigurationFactory using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GlobeServerConfigurationFactory

public GlobeServerConfigurationFactory(Object obj)
                                throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerConfigurationFactory theGlobeServerConfigurationFactory = (GlobeServerConfigurationFactory) obj;

Construct a GlobeServerConfigurationFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GlobeServerConfigurationFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

onAdd

public 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.

Specified by:
onAdd in interface IConfigurationFactory
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

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

Product Availability

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

Specified by:
onRemove in interface IConfigurationFactory
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStart

public 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.

Specified by:
onStart in interface IConfigurationFactory
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

public 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.

Specified by:
onStop in interface IConfigurationFactory
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.