|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.server.IServerObjectConfigurationProxy com.esri.arcgis.server.IServerObjectConfiguration2Proxy
public class IServerObjectConfiguration2Proxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IServerObjectConfiguration2Proxy()
|
|
IServerObjectConfiguration2Proxy(Object obj)
|
protected |
IServerObjectConfiguration2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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). |
void |
removeListener(String iidStr,
Object theListener)
|
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 class com.esri.arcgis.server.IServerObjectConfigurationProxy |
---|
getDescription, getIsolationLevel, getMaxInstances, getMinInstances, getName, getProperties, getRecycleProperties, getStartupType, getTypeName, getUsageTimeout, getWaitTimeout, isPooled, setDescription, setIsolationLevel, setIsPooled, setMaxInstances, setMinInstances, setName, setPropertiesByRef, setRecyclePropertiesByRef, setStartupType, setTypeName, setUsageTimeout, setWaitTimeout |
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.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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IServerObjectConfiguration2Proxy()
public IServerObjectConfiguration2Proxy(Object obj) throws IOException
IOException
protected IServerObjectConfiguration2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IServerObjectConfigurationProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IServerObjectConfigurationProxy
IOException
public 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.
serialize
in interface IServerObjectConfiguration2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
deserialize
in interface IServerObjectConfiguration2
str
- The str (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getExtensionProperties(String name) throws IOException, AutomationException
getExtensionProperties
in interface IServerObjectConfiguration2
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtensionPropertiesByRef(String name, IPropertySet ppExtProperties) throws IOException, AutomationException
setExtensionPropertiesByRef
in interface IServerObjectConfiguration2
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.public IPropertySet getExtensionInfo(String name) throws IOException, AutomationException
getExtensionInfo
in interface IServerObjectConfiguration2
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtensionInfoByRef(String name, IPropertySet ppExtProperties) throws IOException, AutomationException
setExtensionInfoByRef
in interface IServerObjectConfiguration2
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.public boolean isExtensionEnabled(String name) throws IOException, AutomationException
isExtensionEnabled
in interface IServerObjectConfiguration2
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtensionEnabled(String name, boolean pVal) throws IOException, AutomationException
setExtensionEnabled
in interface IServerObjectConfiguration2
name
- The name (in)pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCleanupTimeout() throws IOException, AutomationException
getCleanupTimeout
in interface IServerObjectConfiguration2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCleanupTimeout(int pVal) throws IOException, AutomationException
setCleanupTimeout
in interface IServerObjectConfiguration2
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStartupTimeout() throws IOException, AutomationException
getStartupTimeout
in interface IServerObjectConfiguration2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartupTimeout(int pVal) throws IOException, AutomationException
setStartupTimeout
in interface IServerObjectConfiguration2
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getInfo() throws IOException, AutomationException
getInfo
in interface IServerObjectConfiguration2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInfoByRef(IPropertySet props) throws IOException, AutomationException
setInfoByRef
in interface IServerObjectConfiguration2
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 |