com.esri.arcgis.server
Class IServerObjectManager2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerObjectManagerProxy
          extended by com.esri.arcgis.server.IServerObjectManager2Proxy
All Implemented Interfaces:
IServerObjectManager, IServerObjectManager2, Externalizable, Serializable
Direct Known Subclasses:
IServerObjectManager3Proxy

public class IServerObjectManager2Proxy
extends IServerObjectManagerProxy
implements IServerObjectManager2, Serializable

Provides access to properties and members of the ArcGIS server's server object manager for server object extensions.

Description

Remarks

IServerObjectManager2 provides a method to retrieve an enumeration of server object extension types through IExtensionTypeInfos. The IServerObjectExtensionTypeInfo interface provides the name and description of a server object extension type.

IServerObjectManager2 also provides access to properties of the GIS server's sytem configuration, such as it operating sytem type.

This interface can be obtained by a query interface with IServerObjectManager.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IServerObjectManager2Proxy()
           
  IServerObjectManager2Proxy(Object obj)
           
protected IServerObjectManager2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IEnumServerObjectConfigurationInfo getConfigurationInfosEx(String folderName)
          An enumerator over all the ArcGIS server's ServerObjectExtensionInfos in a given folder.
 IServerObjectConfigurationStatus getConfigurationStatus(String name, String typeName)
          Get the configuration status for a server object configuration with the specified Name and TypeName.
 IEnumServerObjectExtensionTypeInfo getExtensionTypeInfos(String sOTypeName)
          An enumerator over all the ArcGIS server's ServerObjectExtensionTypeInfos.
 IPropertySet getFolderInfo(String folderName)
          Properties associated with a server configuration folder.
 IEnumBSTR getFolders(String folderName)
          An array of folder names in the server configuration folder.
 IPropertySet getSystemInfo()
          The properties of the underlying system hardware and software.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.server.IServerObjectManagerProxy
createServerContext, getConfigurationInfo, getConfigurationInfos, getServerDirectoryInfos, getTypeInfos
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectManager
createServerContext, getConfigurationInfo, getConfigurationInfos, getServerDirectoryInfos, getTypeInfos
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IServerObjectManager2Proxy

public IServerObjectManager2Proxy()

IServerObjectManager2Proxy

public IServerObjectManager2Proxy(Object obj)
                           throws IOException
Throws:
IOException

IServerObjectManager2Proxy

protected IServerObjectManager2Proxy(Object obj,
                                     String iid)
                              throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IServerObjectManagerProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IServerObjectManagerProxy
Throws:
IOException

getSystemInfo

public IPropertySet getSystemInfo()
                           throws IOException,
                                  AutomationException
The properties of the underlying system hardware and software.

Description

The SystemInfo property returns a PropertySet containing properties indicating the operating system name and messaeg version of the GIS server.

Product Availability

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

Specified by:
getSystemInfo in interface IServerObjectManager2
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.

getExtensionTypeInfos

public IEnumServerObjectExtensionTypeInfo getExtensionTypeInfos(String sOTypeName)
                                                         throws IOException,
                                                                AutomationException
An enumerator over all the ArcGIS server's ServerObjectExtensionTypeInfos.

Remarks

Retrieves an enumeration of IServerObjectTypeInfos from the ArcGIS Server system configuration (Server.cfg). The IServerObjectTypeInfo interface provides the name and description of a server object type.

Product Availability

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

Specified by:
getExtensionTypeInfos in interface IServerObjectManager2
Parameters:
sOTypeName - The sOTypeName (in)
Returns:
A reference to a com.esri.arcgis.server.IEnumServerObjectExtensionTypeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfigurationInfosEx

public IEnumServerObjectConfigurationInfo getConfigurationInfosEx(String folderName)
                                                           throws IOException,
                                                                  AutomationException
An enumerator over all the ArcGIS server's ServerObjectExtensionInfos in a given folder.

Remarks

GetConfigurationInfosEx returns an enumeration (IEnumServerObjectConfigurationInfo) of IServerObjectConfigurationInfo for configurations of any esriConfigurationStatus from the folder specified.

Some folderNames have special significance:

folderName == “” means “root”.

folderName == “NULL” means “all folders and root”

Product Availability

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

Specified by:
getConfigurationInfosEx in interface IServerObjectManager2
Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.server.IEnumServerObjectConfigurationInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolders

public IEnumBSTR getFolders(String folderName)
                     throws IOException,
                            AutomationException
An array of folder names in the server configuration folder.

Product Availability

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

Specified by:
getFolders in interface IServerObjectManager2
Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolderInfo

public IPropertySet getFolderInfo(String folderName)
                           throws IOException,
                                  AutomationException
Properties associated with a server configuration folder.

Product Availability

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

Specified by:
getFolderInfo in interface IServerObjectManager2
Parameters:
folderName - The folderName (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.

getConfigurationStatus

public IServerObjectConfigurationStatus getConfigurationStatus(String name,
                                                               String typeName)
                                                        throws IOException,
                                                               AutomationException
Get the configuration status for a server object configuration with the specified Name and TypeName.

Product Availability

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

Specified by:
getConfigurationStatus in interface IServerObjectManager2
Parameters:
name - The name (in)
typeName - The typeName (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObjectConfigurationStatus
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.