com.esri.arcgis.globecore
Class GlobeServerConfigurationFactory

java.lang.Object
  extended bycom.esri.arcgis.globecore.GlobeServerConfigurationFactory
All Implemented Interfaces:
IConfigurationFactory, java.io.Serializable

public class GlobeServerConfigurationFactory
extends java.lang.Object
implements 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(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IConfigurationFactory getAsIConfigurationFactory()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String 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
 

Constructor Detail

GlobeServerConfigurationFactory

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

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GlobeServerConfigurationFactory

public GlobeServerConfigurationFactory(java.lang.Object obj)
                                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

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.
GlobeServerConfigurationFactory theGlobeServerConfigurationFactory = (GlobeServerConfigurationFactory) obj;

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

getClsid

public static java.lang.String getClsid()

getAsIConfigurationFactory

public IConfigurationFactory getAsIConfigurationFactory()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


onAdd

public IPropertySet onAdd(IServerObjectAdmin pAdmin,
                          IPropertySet pProps)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IConfigurationFactory
Is called when the configuration is added.

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:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

onRemove

public void onRemove()
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IConfigurationFactory
Is called when the configuration is removed.

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

onStart

public void onStart(IServerObjectAdmin pAdmin,
                    IPropertySet props)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IConfigurationFactory
Is called when the configuration is started.

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:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

onStop

public void onStop(IServerObjectAdmin pAdmin,
                   IPropertySet props)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IConfigurationFactory
Is called when the configuration is stopped.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.