com.esri.arcgis.system
Interface IAoInitialize

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AoInitialize, IAoInitializeProxy

public interface IAoInitialize
extends java.io.Serializable

COM Interface 'IAoInitialize'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members that initialize licensing for ArcGIS Desktop, Engine, and Server.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID9ab6a638_aca8_4820_830c_463ea11c8722
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int checkInExtension(int extensionCode)
          Check in an extension.
 int checkOutExtension(int extensionCode)
          Check out an extension.
 int initialize(int productCode)
          This must be called before any other ArcObjects are created to initialize product Code.
 int initializedProduct()
          Retrieve's the product code at which the application has been initialized.
 boolean isExtensionCheckedOut(int extensionCode)
          Is the Extension checked out.
 int isExtensionCodeAvailable(int productCode, int extensionCode)
          Check if the Product Code is available and then the Extension Code for that product.
 int isProductCodeAvailable(int productCode)
          Check if the Product Code is available.
 void shutdown()
          Shutdown method.
 

Field Detail

IID9ab6a638_aca8_4820_830c_463ea11c8722

static final int IID9ab6a638_aca8_4820_830c_463ea11c8722
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

isProductCodeAvailable

int isProductCodeAvailable(int productCode)
                           throws java.io.IOException,
                                  AutomationException
Check if the Product Code is available.

Parameters:
productCode - A com.esri.arcgis.system.esriLicenseProductCode constant (in)
Returns:
A com.esri.arcgis.system.esriLicenseStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExtensionCodeAvailable

int isExtensionCodeAvailable(int productCode,
                             int extensionCode)
                             throws java.io.IOException,
                                    AutomationException
Check if the Product Code is available and then the Extension Code for that product.

Parameters:
productCode - A com.esri.arcgis.system.esriLicenseProductCode constant (in)
extensionCode - A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)
Returns:
A com.esri.arcgis.system.esriLicenseStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

int initialize(int productCode)
               throws java.io.IOException,
                      AutomationException
This must be called before any other ArcObjects are created to initialize product Code. If called a second time during the life time of an executable with a new product code, it will return esriLicenseAlreadyInitialized.

Parameters:
productCode - A com.esri.arcgis.system.esriLicenseProductCode constant (in)
Returns:
A com.esri.arcgis.system.esriLicenseStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkOutExtension

int checkOutExtension(int extensionCode)
                      throws java.io.IOException,
                             AutomationException
Check out an extension.

Parameters:
extensionCode - A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)
Returns:
A com.esri.arcgis.system.esriLicenseStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkInExtension

int checkInExtension(int extensionCode)
                     throws java.io.IOException,
                            AutomationException
Check in an extension.

Parameters:
extensionCode - A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)
Returns:
A com.esri.arcgis.system.esriLicenseStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

void shutdown()
              throws java.io.IOException,
                     AutomationException
Shutdown method. This should be the last call to ArcObjects in an application.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializedProduct

int initializedProduct()
                       throws java.io.IOException,
                              AutomationException
Retrieve's the product code at which the application has been initialized.

Returns:
A com.esri.arcgis.system.esriLicenseProductCode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExtensionCheckedOut

boolean isExtensionCheckedOut(int extensionCode)
                              throws java.io.IOException,
                                     AutomationException
Is the Extension checked out.

Parameters:
extensionCode - A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)
Returns:
The checkedOut
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.