com.esri.arcgis.server
Class ServerObjectFactoryX

java.lang.Object
  extended by com.esri.arcgis.server.ServerObjectFactoryX
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerObjectFactoryX, ISupportErrorInfo, java.io.Serializable

public class ServerObjectFactoryX
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IServerObjectFactoryX

COM Class 'ServerObjectFactoryX'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerObjectFactoryX
IID, IIDd4b031ba_ad7d_438b_811c_a362f8b2d818, xxDummy
 
Constructor Summary
ServerObjectFactoryX()
          Constructs a ServerObjectFactoryX using ArcGIS Engine.
ServerObjectFactoryX(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ServerObjectFactoryX theServerObjectFactoryX = (ServerObjectFactoryX) obj;
 
Method Summary
 void addAddInFolder(java.lang.String addInFolderPath)
          Adds a folder to the Add In folder processing list.
 IConfigurationFactory createConfigurationFactory(java.lang.String cfgName, java.lang.String cfgType, java.lang.String cLSID)
          Creates a new server configuration factory for a given type.
 java.lang.Object createObject(java.lang.String cLSID)
          Creates an instance of an AddIn given a CLSID.
 IServerObject createServerObject(java.lang.String cLSID, java.lang.String cfgName, java.lang.String cfgType, IPropertySet ipProps)
          Creates a new server object given a CLSID.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getJobRegistryPath()
          Gets the path to the job registry that was set on the factory.
 java.lang.String getLogDirectoryPath()
          Gets the path to the log directory that was set on the factory.
 java.lang.String getLogLevel()
          Gets the log level that was set on the factory.
 int getMaxLogFileSize()
          Gets the maximum size of the log file that was set on the factory.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a ServerObjectFactoryX.
 void removeAddInFolder(java.lang.String addInFolderPath)
          Removes a folder from the Add In folder processing list.
 void setJobRegistryPath(java.lang.String jobRegPath)
          Sets the path to the job registry maintained on disk.
 void setLogDirectoryPath(java.lang.String logDirPath)
          Sets the path to the log directory.
 void setLogLevel(java.lang.String logLevel)
          Sets the log level.
 void setMaxLogFileSize(int maxLogFileSize)
          Sets the maximum size of the log file.
 void setProcessId(int processId)
          Sets the process id.
 void setProductCode(int productCode)
          Sets the product code.
 void shutdown()
          Cleanup routine that indicates a shutdown of the STA thread thats hosting factory.
 void shutdownEx(IServerObject ipSO)
          Cleanup routine that calls ShutDown on the Server object and extensions.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerObjectFactoryX

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

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

ServerObjectFactoryX

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

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

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()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ServerObjectFactoryX.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addAddInFolder

public void addAddInFolder(java.lang.String addInFolderPath)
                    throws java.io.IOException,
                           AutomationException
Adds a folder to the Add In folder processing list.

Specified by:
addAddInFolder in interface IServerObjectFactoryX
Parameters:
addInFolderPath - The addInFolderPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAddInFolder

public void removeAddInFolder(java.lang.String addInFolderPath)
                       throws java.io.IOException,
                              AutomationException
Removes a folder from the Add In folder processing list.

Specified by:
removeAddInFolder in interface IServerObjectFactoryX
Parameters:
addInFolderPath - The addInFolderPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProductCode

public void setProductCode(int productCode)
                    throws java.io.IOException,
                           AutomationException
Sets the product code.

Specified by:
setProductCode in interface IServerObjectFactoryX
Parameters:
productCode - The productCode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setJobRegistryPath

public void setJobRegistryPath(java.lang.String jobRegPath)
                        throws java.io.IOException,
                               AutomationException
Sets the path to the job registry maintained on disk.

Specified by:
setJobRegistryPath in interface IServerObjectFactoryX
Parameters:
jobRegPath - The jobRegPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getJobRegistryPath

public java.lang.String getJobRegistryPath()
                                    throws java.io.IOException,
                                           AutomationException
Gets the path to the job registry that was set on the factory.

Specified by:
getJobRegistryPath in interface IServerObjectFactoryX
Returns:
The pJobRegPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLogDirectoryPath

public void setLogDirectoryPath(java.lang.String logDirPath)
                         throws java.io.IOException,
                                AutomationException
Sets the path to the log directory.

Specified by:
setLogDirectoryPath in interface IServerObjectFactoryX
Parameters:
logDirPath - The logDirPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLogDirectoryPath

public java.lang.String getLogDirectoryPath()
                                     throws java.io.IOException,
                                            AutomationException
Gets the path to the log directory that was set on the factory.

Specified by:
getLogDirectoryPath in interface IServerObjectFactoryX
Returns:
The pLogDirPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLogLevel

public void setLogLevel(java.lang.String logLevel)
                 throws java.io.IOException,
                        AutomationException
Sets the log level.

Specified by:
setLogLevel in interface IServerObjectFactoryX
Parameters:
logLevel - The logLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLogLevel

public java.lang.String getLogLevel()
                             throws java.io.IOException,
                                    AutomationException
Gets the log level that was set on the factory.

Specified by:
getLogLevel in interface IServerObjectFactoryX
Returns:
The pLogLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxLogFileSize

public void setMaxLogFileSize(int maxLogFileSize)
                       throws java.io.IOException,
                              AutomationException
Sets the maximum size of the log file.

Specified by:
setMaxLogFileSize in interface IServerObjectFactoryX
Parameters:
maxLogFileSize - The maxLogFileSize (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxLogFileSize

public int getMaxLogFileSize()
                      throws java.io.IOException,
                             AutomationException
Gets the maximum size of the log file that was set on the factory.

Specified by:
getMaxLogFileSize in interface IServerObjectFactoryX
Returns:
The pMaxLogFileSize
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createServerObject

public IServerObject createServerObject(java.lang.String cLSID,
                                        java.lang.String cfgName,
                                        java.lang.String cfgType,
                                        IPropertySet ipProps)
                                 throws java.io.IOException,
                                        AutomationException
Creates a new server object given a CLSID.

Specified by:
createServerObject in interface IServerObjectFactoryX
Parameters:
cLSID - The cLSID (in)
cfgName - The cfgName (in)
cfgType - The cfgType (in)
ipProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createConfigurationFactory

public IConfigurationFactory createConfigurationFactory(java.lang.String cfgName,
                                                        java.lang.String cfgType,
                                                        java.lang.String cLSID)
                                                 throws java.io.IOException,
                                                        AutomationException
Creates a new server configuration factory for a given type.

Specified by:
createConfigurationFactory in interface IServerObjectFactoryX
Parameters:
cfgName - The cfgName (in)
cfgType - The cfgType (in)
cLSID - The cLSID (in)
Returns:
A reference to a com.esri.arcgis.server.IConfigurationFactory
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createObject

public java.lang.Object createObject(java.lang.String cLSID)
                              throws java.io.IOException,
                                     AutomationException
Creates an instance of an AddIn given a CLSID.

Specified by:
createObject in interface IServerObjectFactoryX
Parameters:
cLSID - The cLSID (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Cleanup routine that indicates a shutdown of the STA thread thats hosting factory.

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

shutdownEx

public void shutdownEx(IServerObject ipSO)
                throws java.io.IOException,
                       AutomationException
Cleanup routine that calls ShutDown on the Server object and extensions.

Specified by:
shutdownEx in interface IServerObjectFactoryX
Parameters:
ipSO - A reference to a com.esri.arcgis.server.IServerObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProcessId

public void setProcessId(int processId)
                  throws java.io.IOException,
                         AutomationException
Sets the process id.

Specified by:
setProcessId in interface IServerObjectFactoryX
Parameters:
processId - The processId (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.