|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerObjectFactoryX
public class ServerObjectFactoryX
Constructor Summary | |
---|---|
ServerObjectFactoryX()
Constructs a ServerObjectFactoryX using ArcGIS Engine. |
|
ServerObjectFactoryX(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ServerObjectFactoryX theServerObjectFactoryX = (ServerObjectFactoryX) obj; |
Method Summary | |
---|---|
void |
addAddInFolder(String addInFolderPath)
Adds a folder to the Add In folder processing list. |
IConfigurationFactory |
createConfigurationFactory(String cfgName,
String cfgType,
String cLSID)
Creates a new server configuration factory for a given type. |
Object |
createObject(String cLSID)
Creates an instance of an AddIn given a CLSID. |
IServerObject |
createServerObject(String cLSID,
String cfgName,
String cfgType,
IPropertySet ipProps)
Creates a new server object given a CLSID. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getJobRegistryPath()
Gets the path to the job registry that was set on the factory. |
String |
getLogDirectoryPath()
Gets the path to the log directory that was set on the factory. |
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 |
removeAddInFolder(String addInFolderPath)
Removes a folder from the Add In folder processing list. |
void |
setJobRegistryPath(String jobRegPath)
Sets the path to the job registry maintained on disk. |
void |
setLogDirectoryPath(String logDirPath)
Sets the path to the log directory. |
void |
setLogLevel(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ServerObjectFactoryX() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ServerObjectFactoryX(Object obj) throws IOException
ServerObjectFactoryX theServerObjectFactoryX = (ServerObjectFactoryX) obj;
obj
to ServerObjectFactoryX
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addAddInFolder(String addInFolderPath) throws IOException, AutomationException
addAddInFolder
in interface IServerObjectFactoryX
addInFolderPath
- The addInFolderPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAddInFolder(String addInFolderPath) throws IOException, AutomationException
removeAddInFolder
in interface IServerObjectFactoryX
addInFolderPath
- The addInFolderPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProductCode(int productCode) throws IOException, AutomationException
setProductCode
in interface IServerObjectFactoryX
productCode
- The productCode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setJobRegistryPath(String jobRegPath) throws IOException, AutomationException
setJobRegistryPath
in interface IServerObjectFactoryX
jobRegPath
- The jobRegPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getJobRegistryPath() throws IOException, AutomationException
getJobRegistryPath
in interface IServerObjectFactoryX
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLogDirectoryPath(String logDirPath) throws IOException, AutomationException
setLogDirectoryPath
in interface IServerObjectFactoryX
logDirPath
- The logDirPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLogDirectoryPath() throws IOException, AutomationException
getLogDirectoryPath
in interface IServerObjectFactoryX
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLogLevel(String logLevel) throws IOException, AutomationException
setLogLevel
in interface IServerObjectFactoryX
logLevel
- The logLevel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLogLevel() throws IOException, AutomationException
getLogLevel
in interface IServerObjectFactoryX
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxLogFileSize(int maxLogFileSize) throws IOException, AutomationException
setMaxLogFileSize
in interface IServerObjectFactoryX
maxLogFileSize
- The maxLogFileSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxLogFileSize() throws IOException, AutomationException
getMaxLogFileSize
in interface IServerObjectFactoryX
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObject createServerObject(String cLSID, String cfgName, String cfgType, IPropertySet ipProps) throws IOException, AutomationException
createServerObject
in interface IServerObjectFactoryX
cLSID
- The cLSID (in)cfgName
- The cfgName (in)cfgType
- The cfgType (in)ipProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IConfigurationFactory createConfigurationFactory(String cfgName, String cfgType, String cLSID) throws IOException, AutomationException
createConfigurationFactory
in interface IServerObjectFactoryX
cfgName
- The cfgName (in)cfgType
- The cfgType (in)cLSID
- The cLSID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object createObject(String cLSID) throws IOException, AutomationException
createObject
in interface IServerObjectFactoryX
cLSID
- The cLSID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
shutdown
in interface IServerObjectFactoryX
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdownEx(IServerObject ipSO) throws IOException, AutomationException
shutdownEx
in interface IServerObjectFactoryX
ipSO
- A reference to a com.esri.arcgis.server.IServerObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProcessId(int processId) throws IOException, AutomationException
setProcessId
in interface IServerObjectFactoryX
processId
- The processId (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |