com.esri.arcgis.datasourcesfile
Class LicensedDataExtension

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.LicensedDataExtension
All Implemented Interfaces:
IDataLicenseManager, com.esri.arcgis.interop.RemoteObjRef, IAutoExtension, IExtension, java.io.Serializable

public class LicensedDataExtension
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAutoExtension, IExtension, IDataLicenseManager

COM Class 'LicensedDataExtension'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'

Description 'The Licensed Data Extension.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IAutoExtension
IID, IIDa5009874_e58f_42df_be62_873a7661ecdf, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesfile.IDataLicenseManager
IID, IID2d5b7a40_f25b_4490_b36c_edd367df33d0, xxDummy
 
Constructor Summary
LicensedDataExtension()
          Constructs a LicensedDataExtension using ArcGIS Engine.
LicensedDataExtension(java.lang.Object obj)
          Construct a LicensedDataExtension using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addLicenseFromFile(java.lang.String bstrLicenseFileName)
          Adds license information.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          Number of license information.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IDataLicenseInfo getLicenseInfo(int nIdx)
          Returns license information by index.
 IDataLicenseInfo getLicenseInfoFromFile(java.lang.String bstrLicenseFileName)
          Returns license information by file name.
 java.lang.String getName()
          The name of the extension.
 int hashCode()
          the hashcode for this object
 void release()
          Release a LicensedDataExtension.
 void removeLicense(int nIdx)
          Removes license information.
 void shutdown()
          Shuts down the extension.
 void startup(java.lang.Object initializationData)
          Starts up the extension with the given initialization data.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicensedDataExtension

public LicensedDataExtension()
                      throws java.io.IOException,
                             java.net.UnknownHostException
Constructs a LicensedDataExtension using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

LicensedDataExtension

public LicensedDataExtension(java.lang.Object obj)
                      throws java.io.IOException
Construct a LicensedDataExtension using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LicensedDataExtension.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems LicensedDataExtension theLicensedDataExtension = (LicensedDataExtension) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a LicensedDataExtension.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the extension.

Specified by:
getName in interface IExtension
Returns:
The extensionName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public void startup(java.lang.Object initializationData)
             throws java.io.IOException,
                    AutomationException
Starts up the extension with the given initialization data.

Specified by:
startup in interface IExtension
Parameters:
initializationData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Shuts down the extension.

Specified by:
shutdown in interface IExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

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

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

getLicenseInfo

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

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

addLicenseFromFile

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

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

removeLicense

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

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

getLicenseInfoFromFile

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

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