com.esri.arcgis.geodatabase
Class IWorkspaceExtensionManagerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IWorkspaceExtensionManagerProxy
All Implemented Interfaces:
IWorkspaceExtensionManager, Externalizable, Serializable

public class IWorkspaceExtensionManagerProxy
extends com.esri.arcgis.interop.Dispatch
implements IWorkspaceExtensionManager, Serializable

Provides access to members that manage a workspace extension.

Remarks

IWorkspaceExtensionManager is an optional interface supported by Personal, File and ArcSDE geodatabase workspaces. The FindExtension method returns a reference to a workspace extension given its GUID. An application can also discover and iterate over all extensions using the ExtensionCount and Extension properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
IWorkspace, Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IWorkspaceExtensionManagerProxy()
           
  IWorkspaceExtensionManagerProxy(Object obj)
           
protected IWorkspaceExtensionManagerProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IWorkspaceExtension findExtension(IUID pGUID)
          Finds the specified workspace extension by its globally unique id.
 IWorkspaceExtension getExtension(int index)
          The workspace extension at this index.
 int getExtensionCount()
          The number of workspace extensions.
 void registerExtension(String name, IUID pGUID)
          Registers this workspace extension with the database making it required for successful connection to this database.
 void removeListener(String iidStr, Object theListener)
           
 void unRegisterExtension(IUID pGUID)
          UnRegisters this workspace extension making it no longer required for successful connection to this database.
 
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

noncastable

public boolean noncastable
Constructor Detail

IWorkspaceExtensionManagerProxy

public IWorkspaceExtensionManagerProxy()

IWorkspaceExtensionManagerProxy

public IWorkspaceExtensionManagerProxy(Object obj)
                                throws IOException
Throws:
IOException

IWorkspaceExtensionManagerProxy

protected IWorkspaceExtensionManagerProxy(Object obj,
                                          String iid)
                                   throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

findExtension

public IWorkspaceExtension findExtension(IUID pGUID)
                                  throws IOException,
                                         AutomationException
Finds the specified workspace extension by its globally unique id.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
findExtension in interface IWorkspaceExtensionManager
Parameters:
pGUID - A reference to a com.esri.arcgis.system.IUID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionCount

public int getExtensionCount()
                      throws IOException,
                             AutomationException
The number of workspace extensions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtensionCount in interface IWorkspaceExtensionManager
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtension

public IWorkspaceExtension getExtension(int index)
                                 throws IOException,
                                        AutomationException
The workspace extension at this index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getExtension in interface IWorkspaceExtensionManager
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

registerExtension

public void registerExtension(String name,
                              IUID pGUID)
                       throws IOException,
                              AutomationException
Registers this workspace extension with the database making it required for successful connection to this database.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
registerExtension in interface IWorkspaceExtensionManager
Parameters:
name - The name (in)
pGUID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unRegisterExtension

public void unRegisterExtension(IUID pGUID)
                         throws IOException,
                                AutomationException
UnRegisters this workspace extension making it no longer required for successful connection to this database.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
unRegisterExtension in interface IWorkspaceExtensionManager
Parameters:
pGUID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.