|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerObjectConfiguration
public class ServerObjectConfiguration
COM Class 'ServerObjectConfiguration'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'
Description 'The ServerObjectConfiguration object which defines the properties and behavior for server objects running in the GIS server.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfiguration4 |
---|
IID, IIDac7687e9_a00e_4281_abaa_b889a5d7b1a6, xxDummy |
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfiguration3 |
---|
IID35bcf76e_686f_4cb2_b0b8_f615754e79d3 |
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfiguration2 |
---|
IID2d81b707_95b1_4efa_a0fa_5ab49b051d0b |
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfiguration |
---|
IID832dab4c_a03d_429e_8c14_401e3f807284 |
Constructor Summary | |
---|---|
ServerObjectConfiguration(java.lang.Object obj)
Construct a ServerObjectConfiguration using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
deserialize(java.lang.String str)
Deserializes the server object configuration from a string. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
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. |
java.lang.String |
getDescription()
Description of the server object configuration. |
IPropertySet |
getExtensionInfo(java.lang.String name)
The extension-dependent info for the server object configuration. |
IPropertySet |
getExtensionProperties(java.lang.String name)
The extension-dependent properties for the server object configuration. |
int |
getIdleTimeout()
Maximum time (in seconds) an instance of a server object for this server object configuration can remain idle. |
IPropertySet |
getInfo()
Auxiliary Information for the server objects created by the server object configuration ?passive properties only. |
int |
getInstancesPerContainer()
Number of instances in a single low isolation container. |
int |
getIsolationLevel()
The isolation level of the server objects defined by the server object configuration. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getMaxInstances()
The maximum number of server object instances for a server object configuration. |
int |
getMinInstances()
The minimum number of server object instances for a server object configuration. |
java.lang.String |
getName()
Name of the server object configuration. |
IPropertySet |
getProperties()
Initialization parameters and properties for the server objects created by the server object configuration. |
IPropertySet |
getRecycleProperties()
The recycling properties for the server object configuration. |
int |
getServiceKeepAliveInterval()
Interval at which SOM calls IObjectActivate on ServerObject, thus allowing instances with stale data connections to be recycled. |
int |
getStartupTimeout()
Maximum time (in seconds) that a SOC process will wait for an instance of a server object to start. |
int |
getStartupType()
The startup type for this server object configuration. |
java.lang.String |
getTypeName()
Type of the server object configuration (MapServer or GeocodeServer). |
int |
getUsageTimeout()
Maximum time (in seconds) a client can hold onto an instance of a server object for this server object configuration before releasing it back to the server. |
int |
getWaitTimeout()
Maximum time (in seconds) a client will wait for an instance of a server object for this server object configuration using the CreateServerContext method on IServerObjectManager before timing out. |
int |
hashCode()
the hashcode for this object |
boolean |
isExtensionEnabled(java.lang.String name)
Indicates whether the state of the named extension is Enabled (true) or Disabled (false). |
boolean |
isPooled()
Indicates whether the server objects defined by this configuration are pooled. |
void |
release()
Release a ServerObjectConfiguration. |
java.lang.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 |
setDescription(java.lang.String desc)
Description of the server object configuration. |
void |
setExtensionEnabled(java.lang.String name,
boolean pVal)
Indicates whether the state of the named extension is Enabled (true) or Disabled (false). |
void |
setExtensionInfoByRef(java.lang.String name,
IPropertySet ppExtProperties)
The extension-dependent info for the server object configuration. |
void |
setExtensionPropertiesByRef(java.lang.String name,
IPropertySet ppExtProperties)
The extension-dependent properties for the server object configuration. |
void |
setIdleTimeout(int pVal)
Maximum time (in seconds) an instance of a server object for this server object configuration can remain idle. |
void |
setInfoByRef(IPropertySet props)
Auxiliary Information for the server objects created by the server object configuration ?passive properties only. |
void |
setInstancesPerContainer(int pVal)
Number of instances in a single low isolation container. |
void |
setIsolationLevel(int isoLevel)
The isolation level of the server objects defined by the server object configuration. |
void |
setIsPooled(boolean isPooled)
Indicates whether the server objects defined by this configuration are pooled. |
void |
setMaxInstances(int instances)
The maximum number of server object instances for a server object configuration. |
void |
setMinInstances(int instances)
The minimum number of server object instances for a server object configuration. |
void |
setName(java.lang.String name)
Name of the server object configuration. |
void |
setPropertiesByRef(IPropertySet props)
Initialization parameters and properties for the server objects created by the server object configuration. |
void |
setRecyclePropertiesByRef(IPropertySet props)
The recycling properties for the server object configuration. |
void |
setServiceKeepAliveInterval(int pVal)
Interval at which SOM calls IObjectActivate on ServerObject, thus allowing instances with stale data connections to be recycled. |
void |
setStartupTimeout(int pVal)
Maximum time (in seconds) that a SOC process will wait for an instance of a server object to start. |
void |
setStartupType(int type)
The startup type for this server object configuration. |
void |
setTypeName(java.lang.String typeName)
Type of the server object configuration (MapServer or GeocodeServer). |
void |
setUsageTimeout(int pVal)
Maximum time (in seconds) a client can hold onto an instance of a server object for this server object configuration before releasing it back to the server. |
void |
setWaitTimeout(int pVal)
Maximum time (in seconds) a client will wait for an instance of a server object for this server object configuration using the CreateServerContext method on IServerObjectManager before timing out. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerObjectConfiguration(java.lang.Object obj) throws java.io.IOException
obj
to ServerObjectConfiguration
. *
ServerObjectConfiguration o = (ServerObjectConfiguration)obj; // will not work
ServerObjectConfiguration o = new ServerObjectConfiguration(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
ServerObjectConfiguration theServerObjectConfiguration = (ServerObjectConfiguration) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface IServerObjectConfiguration
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTypeName() throws java.io.IOException, AutomationException
getTypeName
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTypeName(java.lang.String typeName) throws java.io.IOException, AutomationException
setTypeName
in interface IServerObjectConfiguration
typeName
- The typeName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDescription() throws java.io.IOException, AutomationException
getDescription
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(java.lang.String desc) throws java.io.IOException, AutomationException
setDescription
in interface IServerObjectConfiguration
desc
- The desc (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getProperties() throws java.io.IOException, AutomationException
getProperties
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertiesByRef(IPropertySet props) throws java.io.IOException, AutomationException
setPropertiesByRef
in interface IServerObjectConfiguration
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getRecycleProperties() throws java.io.IOException, AutomationException
getRecycleProperties
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRecyclePropertiesByRef(IPropertySet props) throws java.io.IOException, AutomationException
setRecyclePropertiesByRef
in interface IServerObjectConfiguration
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMinInstances() throws java.io.IOException, AutomationException
getMinInstances
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinInstances(int instances) throws java.io.IOException, AutomationException
setMinInstances
in interface IServerObjectConfiguration
instances
- The instances (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxInstances() throws java.io.IOException, AutomationException
getMaxInstances
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxInstances(int instances) throws java.io.IOException, AutomationException
setMaxInstances
in interface IServerObjectConfiguration
instances
- The instances (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPooled() throws java.io.IOException, AutomationException
isPooled
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsPooled(boolean isPooled) throws java.io.IOException, AutomationException
setIsPooled
in interface IServerObjectConfiguration
isPooled
- The isPooled (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIsolationLevel() throws java.io.IOException, AutomationException
getIsolationLevel
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsolationLevel(int isoLevel) throws java.io.IOException, AutomationException
setIsolationLevel
in interface IServerObjectConfiguration
isoLevel
- A com.esri.arcgis.server.esriServerIsolationLevel constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStartupType() throws java.io.IOException, AutomationException
getStartupType
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartupType(int type) throws java.io.IOException, AutomationException
setStartupType
in interface IServerObjectConfiguration
type
- A com.esri.arcgis.server.esriStartupType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getWaitTimeout() throws java.io.IOException, AutomationException
getWaitTimeout
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWaitTimeout(int pVal) throws java.io.IOException, AutomationException
setWaitTimeout
in interface IServerObjectConfiguration
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUsageTimeout() throws java.io.IOException, AutomationException
getUsageTimeout
in interface IServerObjectConfiguration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUsageTimeout(int pVal) throws java.io.IOException, AutomationException
setUsageTimeout
in interface IServerObjectConfiguration
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String serialize() throws java.io.IOException, AutomationException
serialize
in interface IServerObjectConfiguration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(java.lang.String str) throws java.io.IOException, AutomationException
deserialize
in interface IServerObjectConfiguration2
str
- The str (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getExtensionProperties(java.lang.String name) throws java.io.IOException, AutomationException
getExtensionProperties
in interface IServerObjectConfiguration2
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtensionPropertiesByRef(java.lang.String name, IPropertySet ppExtProperties) throws java.io.IOException, AutomationException
setExtensionPropertiesByRef
in interface IServerObjectConfiguration2
name
- The name (in)ppExtProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getExtensionInfo(java.lang.String name) throws java.io.IOException, AutomationException
getExtensionInfo
in interface IServerObjectConfiguration2
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtensionInfoByRef(java.lang.String name, IPropertySet ppExtProperties) throws java.io.IOException, AutomationException
setExtensionInfoByRef
in interface IServerObjectConfiguration2
name
- The name (in)ppExtProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isExtensionEnabled(java.lang.String name) throws java.io.IOException, AutomationException
isExtensionEnabled
in interface IServerObjectConfiguration2
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtensionEnabled(java.lang.String name, boolean pVal) throws java.io.IOException, AutomationException
setExtensionEnabled
in interface IServerObjectConfiguration2
name
- The name (in)pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCleanupTimeout() throws java.io.IOException, AutomationException
getCleanupTimeout
in interface IServerObjectConfiguration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCleanupTimeout(int pVal) throws java.io.IOException, AutomationException
setCleanupTimeout
in interface IServerObjectConfiguration2
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStartupTimeout() throws java.io.IOException, AutomationException
getStartupTimeout
in interface IServerObjectConfiguration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartupTimeout(int pVal) throws java.io.IOException, AutomationException
setStartupTimeout
in interface IServerObjectConfiguration2
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getInfo() throws java.io.IOException, AutomationException
getInfo
in interface IServerObjectConfiguration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInfoByRef(IPropertySet props) throws java.io.IOException, AutomationException
setInfoByRef
in interface IServerObjectConfiguration2
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIdleTimeout() throws java.io.IOException, AutomationException
getIdleTimeout
in interface IServerObjectConfiguration3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIdleTimeout(int pVal) throws java.io.IOException, AutomationException
setIdleTimeout
in interface IServerObjectConfiguration3
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getInstancesPerContainer() throws java.io.IOException, AutomationException
getInstancesPerContainer
in interface IServerObjectConfiguration3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInstancesPerContainer(int pVal) throws java.io.IOException, AutomationException
setInstancesPerContainer
in interface IServerObjectConfiguration3
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getServiceKeepAliveInterval() throws java.io.IOException, AutomationException
getServiceKeepAliveInterval
in interface IServerObjectConfiguration4
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setServiceKeepAliveInterval(int pVal) throws java.io.IOException, AutomationException
setServiceKeepAliveInterval
in interface IServerObjectConfiguration4
pVal
- The pVal (in)
java.io.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 |