|
|||||||||
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.IServerObjectAdminProxy com.esri.arcgis.server.IServerObjectAdmin2Proxy
public class IServerObjectAdmin2Proxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IServerObjectAdmin2Proxy()
|
|
IServerObjectAdmin2Proxy(Object obj)
|
protected |
IServerObjectAdmin2Proxy(Object obj,
String iid)
|
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. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
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. |
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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IServerObjectAdmin2Proxy()
public IServerObjectAdmin2Proxy(Object obj) throws IOException
IOException
protected IServerObjectAdmin2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IServerObjectAdminProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IServerObjectAdminProxy
IOException
public 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.
getExtensionTypes
in interface IServerObjectAdmin2
sOTypeName
- The sOTypeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getServerLog
in interface IServerObjectAdmin2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
enable
in interface IServerObjectAdmin2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
disable
in interface IServerObjectAdmin2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IServerObjectExtensionType createExtensionType() throws IOException, AutomationException
createExtensionType
in interface IServerObjectAdmin2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addExtensionType(String sOTypeName, IServerObjectExtensionType pSOEType) throws IOException, AutomationException
addExtensionType
in interface IServerObjectAdmin2
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.public void deleteExtensionType(String sOTypeName, String sOETypeName) throws IOException, AutomationException
deleteExtensionType
in interface IServerObjectAdmin2
sOTypeName
- The sOTypeName (in)sOETypeName
- The sOETypeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createFolder(String folderName) throws IOException, AutomationException
createFolder
in interface IServerObjectAdmin2
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteFolder(String folderName) throws IOException, AutomationException
deleteFolder
in interface IServerObjectAdmin2
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void renameFolder(String folderName, String newName) throws IOException, AutomationException
renameFolder
in interface IServerObjectAdmin2
folderName
- The folderName (in)newName
- The newName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR getFolders(String folderName) throws IOException, AutomationException
getFolders
in interface IServerObjectAdmin2
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getFolderInfo(String folderName) throws IOException, AutomationException
getFolderInfo
in interface IServerObjectAdmin2
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFolderInfo(String folderName, IPropertySet ppInfo) throws IOException, AutomationException
setFolderInfo
in interface IServerObjectAdmin2
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.public 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”
getConfigurationsEx
in interface IServerObjectAdmin2
folderName
- The folderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void validateConfiguration(String name, String typeName) throws IOException, AutomationException
validateConfiguration
in interface IServerObjectAdmin2
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 |