com.esri.arcgis.datasourcesfile
Class IDataLicenseManagerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.IDataLicenseManagerProxy
All Implemented Interfaces:
IDataLicenseManager, Externalizable, Serializable

public class IDataLicenseManagerProxy
extends com.esri.arcgis.interop.Dispatch
implements IDataLicenseManager, Serializable

Provides access to data license manager.

Product Availability

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

See Also:
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
  IDataLicenseManagerProxy()
           
  IDataLicenseManagerProxy(Object obj)
           
protected IDataLicenseManagerProxy(Object obj, String iid)
           
 
Method Summary
 void addLicenseFromFile(String bstrLicenseFileName)
          Adds license information.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getCount()
          Number of license information.
 IDataLicenseInfo getLicenseInfo(int nIdx)
          Returns license information by index.
 IDataLicenseInfo getLicenseInfoFromFile(String bstrLicenseFileName)
          Returns license information by file name.
 void removeLicense(int nIdx)
          Removes license information.
 void removeListener(String iidStr, Object theListener)
           
 
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

IDataLicenseManagerProxy

public IDataLicenseManagerProxy()

IDataLicenseManagerProxy

public IDataLicenseManagerProxy(Object obj)
                         throws IOException
Throws:
IOException

IDataLicenseManagerProxy

protected IDataLicenseManagerProxy(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

getCount

public int getCount()
             throws IOException,
                    AutomationException
Number of license information.

Product Availability

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

Specified by:
getCount in interface IDataLicenseManager
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseInfo

public IDataLicenseInfo getLicenseInfo(int nIdx)
                                throws IOException,
                                       AutomationException
Returns license information by index.

Product Availability

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

Specified by:
getLicenseInfo in interface IDataLicenseManager
Parameters:
nIdx - The nIdx (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IDataLicenseInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLicenseFromFile

public void addLicenseFromFile(String bstrLicenseFileName)
                        throws IOException,
                               AutomationException
Adds license information.

Product Availability

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

Specified by:
addLicenseFromFile in interface IDataLicenseManager
Parameters:
bstrLicenseFileName - The bstrLicenseFileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeLicense

public void removeLicense(int nIdx)
                   throws IOException,
                          AutomationException
Removes license information.

Product Availability

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

Specified by:
removeLicense in interface IDataLicenseManager
Parameters:
nIdx - The nIdx (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseInfoFromFile

public IDataLicenseInfo getLicenseInfoFromFile(String bstrLicenseFileName)
                                        throws IOException,
                                               AutomationException
Returns license information by file name.

Product Availability

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

Specified by:
getLicenseInfoFromFile in interface IDataLicenseManager
Parameters:
bstrLicenseFileName - The bstrLicenseFileName (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IDataLicenseInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.