com.esri.arcgis.system
Class ESRILicenseInfo

java.lang.Object
  extended by com.esri.arcgis.system.ESRILicenseInfo
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IESRILicenseInfo, java.io.Serializable

public class ESRILicenseInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IESRILicenseInfo

COM Class 'ESRILicenseInfo'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'Esri License Info.' 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.IESRILicenseInfo
IID, IIDfcf1e388_5c7e_4bf3_af4b_155d93f8297f, xxDummy
 
Constructor Summary
ESRILicenseInfo()
          Constructs a ESRILicenseInfo using ArcGIS Engine.
ESRILicenseInfo(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ESRILicenseInfo theESRILicenseInfo = (ESRILicenseInfo) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getDefaultProduct()
          Indicates the product code that will be used on the current machine.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 boolean isLicensed(int productCode)
          Indicates if the specified product is licensed.
 void release()
          Release a ESRILicenseInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESRILicenseInfo

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

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

ESRILicenseInfo

public ESRILicenseInfo(java.lang.Object obj)
                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ESRILicenseInfo theESRILicenseInfo = (ESRILicenseInfo) obj;

Construct a ESRILicenseInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ESRILicenseInfo.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
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 ESRILicenseInfo.

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

getDefaultProduct

public int getDefaultProduct()
                      throws java.io.IOException,
                             AutomationException
Indicates the product code that will be used on the current machine.

Specified by:
getDefaultProduct in interface IESRILicenseInfo
Returns:
A com.esri.arcgis.system.esriProductCode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLicensed

public boolean isLicensed(int productCode)
                   throws java.io.IOException,
                          AutomationException
Indicates if the specified product is licensed.

Specified by:
isLicensed in interface IESRILicenseInfo
Parameters:
productCode - A com.esri.arcgis.system.esriProductCode constant (in)
Returns:
The licensed
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.