|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerObjectAdmin2
Provides access to members that administer the ArcGIS server.
IServerObjectAdmin2 provides methods to retrieve server configuration information and to administer the ArcGIS Server.
The IServerObjectAdmin2 interface can be obtained by a query interface with the IServerObjectAdmin interface.
The following administration functionality of the ArcGIS Server is exposed by the methods of IServerObjectAdmin2 :
Administer the ArcGIS Server:
Get ArcGIS Server configuration information:
Use the IServerObjectAmin2 interface when your application needs to connect to retrieve configuration information about the ArcGIS Server and when your application intends to administer the ArcGIS Server.
If your application is connecting to the server only to make use of objects in the server, use the IServerObjectManager interface instead.
Method Summary | |
---|---|
void |
addExtensionType(String sOTypeName,
IServerObjectExtensionType pSOEType)
Registers a new server object extension type with the server object type indicated in the argument list. |
IServerObjectExtensionType |
createExtensionType()
Creates a new empty server object extension type. |
void |
createFolder(String folderName)
Creates a server configuration folder. |
void |
deleteExtensionType(String sOTypeName,
String sOETypeName)
Unregisters a server object extension type from the server object type indicated in the argument list. |
void |
deleteFolder(String folderName)
Deletes a server configuration folder. |
void |
disable()
Disables a started SOM. |
void |
enable()
Enables a disabled SOM. |
IEnumServerObjectConfiguration |
getConfigurationsEx(String folderName)
An enumerator over all the server object configurations in a server configuration folder. |
IEnumServerObjectExtensionType |
getExtensionTypes(String sOTypeName)
An enumerator over all the server object extension types. |
IPropertySet |
getFolderInfo(String folderName)
Properties associated with a server configuration folder. |
IEnumBSTR |
getFolders(String folderName)
An array of folder names in the server configuration folder. |
IServerLog |
getServerLog()
Retrieves a reference to the ArcGIS Server logs. |
void |
renameFolder(String folderName,
String newName)
Renames a server configuration folder. |
void |
setFolderInfo(String folderName,
IPropertySet ppInfo)
Properties associated with a server configuration folder. |
void |
validateConfiguration(String name,
String typeName)
Validates server object configuration. |
Method Detail |
---|
IEnumServerObjectExtensionType getExtensionTypes(String sOTypeName) throws IOException, AutomationException
Server object extensions can be designated by a type name, description and class ID. The GetExtensionTypes method of the IServerObjectAdmin2 interface provides a reference to an enumeration of IServerObjectExtensionTypes. IServerObjectExtensionType has methods that can be interrogated for type name, description and class ID.
sOTypeName
- The sOTypeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IServerLog getServerLog() throws IOException, AutomationException
The ServerLog property of the IServerObjectAdmin2 interface is a reference to an IServerLog interface. The IServerLog interface is used to query and retrieve records from the logs on disk.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void enable() throws IOException, AutomationException
The Enable method of the IServerObjectAdmin2 interface enables a previously disabled SOM. Using this method on a currently enabled SOM has no effect. Server objects that had been disabled will be immediately available.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disable() throws IOException, AutomationException
The Disable method of the IServerObjectAdmin2 interface disables a SOM. This prevents further communication with any server objects until the Enable method is called. Diabling a SOM does not remove server objects from RAM. When the SOM is enabled again, the server objects will be immediately available.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IServerObjectExtensionType createExtensionType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addExtensionType(String sOTypeName, IServerObjectExtensionType pSOEType) throws IOException, AutomationException
sOTypeName
- The sOTypeName (in)pSOEType
- A reference to a com.esri.arcgis.server.IServerObjectExtensionType (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteExtensionType(String sOTypeName, String sOETypeName) throws IOException, AutomationException
sOTypeName
- The sOTypeName (in)sOETypeName
- The sOETypeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createFolder(String folderName) throws IOException, AutomationException
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteFolder(String folderName) throws IOException, AutomationException
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void renameFolder(String folderName, String newName) throws IOException, AutomationException
folderName
- The folderName (in)newName
- The newName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumBSTR getFolders(String folderName) throws IOException, AutomationException
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getFolderInfo(String folderName) throws IOException, AutomationException
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFolderInfo(String folderName, IPropertySet ppInfo) throws IOException, AutomationException
folderName
- The folderName (in)ppInfo
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumServerObjectConfiguration getConfigurationsEx(String folderName) throws IOException, AutomationException
GetConfigurationEx returns an enumeration (IEnumServerObjectConfiguration) of IServerObjectConfiguration for configurations of any esriConfigurationStatus from the folder specified.
Some folderNames have special significance:
folderName == “” means “root”.
folderName == “NULL” means “all folders and root”
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void validateConfiguration(String name, String typeName) throws IOException, AutomationException
name
- The name (in)typeName
- The typeName (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 |