|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerObjectConfiguration2
Provides access to administrators to members that control the behavior and properties of a server object configuration with extensions.
IServerObjectConfiguration2 extends IServerObjectConfiguration with properties for managing the server object configuration's extensions.
Set the ExtensionEnabled property to true for the server object extensions you want to enable for this configuration. A list of the server object extensions installed on the GIS server for each server object type are available via IServerObjectManager2::GetExtensionTypeInfos.
Use the ExtensionProperties property to specify the collection of properties for a server object extension.
The Serialize and Deserialize methods allow you to save the server object configuration as a string, and restore it from a string. This can be useful when copying server object configurations between two GIS servers.
Method Summary | |
---|---|
void |
deserialize(String str)
Deserializes the server object configuration from a string. |
int |
getCleanupTimeout()
Maximum time (in seconds) that a SOC process will remain active to allow its no longer used server object threads to shut down gracefully before terminating them. |
IPropertySet |
getExtensionInfo(String name)
The extension-dependent info for the server object configuration. |
IPropertySet |
getExtensionProperties(String name)
The extension-dependent properties for the server object configuration. |
IPropertySet |
getInfo()
Auxiliary Information for the server objects created by the server object configuration ?passive properties only. |
int |
getStartupTimeout()
Maximum time (in seconds) that a SOC process will wait for an instance of a server object to start. |
boolean |
isExtensionEnabled(String name)
Indicates whether the state of the named extension is Enabled (true) or Disabled (false). |
String |
serialize()
Serializes the server object configuration into a string. |
void |
setCleanupTimeout(int pVal)
Maximum time (in seconds) that a SOC process will remain active to allow its no longer used server object threads to shut down gracefully before terminating them. |
void |
setExtensionEnabled(String name,
boolean pVal)
Indicates whether the state of the named extension is Enabled (true) or Disabled (false). |
void |
setExtensionInfoByRef(String name,
IPropertySet ppExtProperties)
The extension-dependent info for the server object configuration. |
void |
setExtensionPropertiesByRef(String name,
IPropertySet ppExtProperties)
The extension-dependent properties for the server object configuration. |
void |
setInfoByRef(IPropertySet props)
Auxiliary Information for the server objects created by the server object configuration ?passive properties only. |
void |
setStartupTimeout(int pVal)
Maximum time (in seconds) that a SOC process will wait for an instance of a server object to start. |
Methods inherited from interface com.esri.arcgis.server.IServerObjectConfiguration |
---|
getDescription, getIsolationLevel, getMaxInstances, getMinInstances, getName, getProperties, getRecycleProperties, getStartupType, getTypeName, getUsageTimeout, getWaitTimeout, isPooled, setDescription, setIsolationLevel, setIsPooled, setMaxInstances, setMinInstances, setName, setPropertiesByRef, setRecyclePropertiesByRef, setStartupType, setTypeName, setUsageTimeout, setWaitTimeout |
Method Detail |
---|
String serialize() throws IOException, AutomationException
The Serialize and Deserialize methods allow you to serialize server object configurations to strings, then deserialize them back into server object configurations. This can be useful when copying server object configurations between two GIS servers.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deserialize(String str) throws IOException, AutomationException
The Serialize and Deserialize methods allow you to serialize server object configurations to strings, then deserialize them back into server object configurations. This can be useful when copying server object configurations between two GIS servers.
str
- The str (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getExtensionProperties(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtensionPropertiesByRef(String name, IPropertySet ppExtProperties) throws IOException, AutomationException
name
- The name (in)ppExtProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getExtensionInfo(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtensionInfoByRef(String name, IPropertySet ppExtProperties) throws IOException, AutomationException
name
- The name (in)ppExtProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isExtensionEnabled(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtensionEnabled(String name, boolean pVal) throws IOException, AutomationException
name
- The name (in)pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCleanupTimeout() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCleanupTimeout(int pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getStartupTimeout() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStartupTimeout(int pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getInfo() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setInfoByRef(IPropertySet props) throws IOException, AutomationException
props
- A reference to a com.esri.arcgis.system.IPropertySet (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 |