public class AoInitialize extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAoInitialize, ISupportErrorInfo, ILicenseInformation
IID, IID9ab6a638_aca8_4820_830c_463ea11c8722, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, IIDebe6bd5b_2f03_48f0_b68b_6de8c4bdef32, xxDummy
Constructor and Description |
---|
AoInitialize()
Constructs a AoInitialize on the local host.
|
AoInitialize(com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
use AuthInfo.setDefault(...) or AuthInfo.setThreadDefault(...)
Please see Security section in the J-Integra for COM documentation
|
AoInitialize(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
|
AoInitialize(java.lang.String host)
Construct a AoInitialize on specified host.
|
AoInitialize(java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
use AuthInfo.setDefault(...) or AuthInfo.setThreadDefault(...)
See Security section in the J-Integra for COM documentation
|
Modifier and Type | Method and Description |
---|---|
static AoInitialize |
bindUsingMoniker(java.lang.String moniker)
bindUsingMoniker.
|
int |
checkInExtension(int extensionCode)
Check in an extension.
|
int |
checkOutExtension(int extensionCode)
Check out an extension.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static AoInitialize |
getActiveObject()
getActiveObject.
|
static java.lang.String |
getClsid() |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
protected java.lang.String |
getJintegraVersion() |
java.lang.String |
getLicenseExtensionName(int extensionCode)
Retrieve the name license extension code.
|
java.lang.String |
getLicenseProductName(int productCode)
Retrieve the name license product code.
|
ILicenseInfoEnum |
getProductExtensions(int productCode)
Enumerate the extensions supported the product.
|
java.lang.Object |
getPropertyByName(java.lang.String name)
getPropertyByName.
|
java.lang.Object |
getPropertyByName(java.lang.String name,
java.lang.Object rhs)
getPropertyByName.
|
int |
hashCode()
the hashcode for this object
|
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.
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
java.lang.Object |
invokeMethodByName(java.lang.String name)
invokeMethodByName.
|
java.lang.Object |
invokeMethodByName(java.lang.String name,
java.lang.Object[] parameters)
invokeMethodByName.
|
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 |
release()
Release this COM object reference
|
void |
shutdown()
Shutdown method.
|
public AoInitialize() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are problems communicating via DCOMjava.net.UnknownHostException
- if the host can not be foundpublic AoInitialize(java.lang.String host) throws java.io.IOException, java.net.UnknownHostException
host
- the host on which the object should be createdjava.io.IOException
- if there are problems communicating via DCOMjava.net.UnknownHostException
- if the host can not be foundpublic AoInitialize(com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
com.esri.arcgis.interop.AuthInfo.setDefault(..)
public AoInitialize(java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
com.esri.arcgis.interop.AuthInfo.setDefault(..)
public AoInitialize(java.lang.Object obj) throws java.io.IOException
obj
- an object returned from a COM serverjava.io.IOException
- if there are problems communicating via DCOMpublic static java.lang.String getClsid()
protected java.lang.String getJintegraVersion()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static AoInitialize getActiveObject() throws AutomationException, java.io.IOException
java.io.IOException
- If there are communications problems.AutomationException
- If there was an error attaching to the instance.public static AoInitialize bindUsingMoniker(java.lang.String moniker) throws AutomationException, java.io.IOException
moniker
- The ObjRef Moniker (Created using Windows CreateObjrefMoniker() and IMoniker->GetDisplayName).java.io.IOException
- If there are communications problems.AutomationException
- If there was an error attaching to the instance.public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.Object getPropertyByName(java.lang.String name) throws java.lang.NoSuchFieldException, java.io.IOException, AutomationException
name
- The name of the property to get.java.lang.NoSuchFieldException
- If the property does not exit.java.io.IOException
- If there are communications problems.AutomationException
- If the remote server throws an exception.public java.lang.Object getPropertyByName(java.lang.String name, java.lang.Object rhs) throws java.lang.NoSuchFieldException, java.io.IOException, AutomationException
name
- The name of the property to get.rhs
- A parameter used when getting the proxy.java.lang.NoSuchFieldException
- If the property does not exit.java.io.IOException
- If there are communications problems.AutomationException
- If the remote server throws an exception.public java.lang.Object invokeMethodByName(java.lang.String name, java.lang.Object[] parameters) throws java.lang.NoSuchMethodException, java.io.IOException, AutomationException
name
- The name of the method to be invoked.parameters
- One element for each parameter. Use primitive type wrappers.
to pass primitive types (eg Integer to pass an int).java.lang.NoSuchMethodException
- If the method does not exit.java.io.IOException
- If there are communications problems.AutomationException
- If the remote server throws an exception.public java.lang.Object invokeMethodByName(java.lang.String name) throws java.lang.NoSuchMethodException, java.io.IOException, AutomationException
name
- The name of the method to be invoked.java.lang.NoSuchMethodException
- If the method does not exit.java.io.IOException
- If there are communications problems.AutomationException
- If the remote server throws an exception.public int isProductCodeAvailable(int productCode) throws java.io.IOException, AutomationException
isProductCodeAvailable
in interface IAoInitialize
productCode
- A com.esri.arcgis.system.esriLicenseProductCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int isExtensionCodeAvailable(int productCode, int extensionCode) throws java.io.IOException, AutomationException
isExtensionCodeAvailable
in interface IAoInitialize
productCode
- A com.esri.arcgis.system.esriLicenseProductCode constant (in)extensionCode
- A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int initialize(int productCode) throws java.io.IOException, AutomationException
initialize
in interface IAoInitialize
productCode
- A com.esri.arcgis.system.esriLicenseProductCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int checkOutExtension(int extensionCode) throws java.io.IOException, AutomationException
checkOutExtension
in interface IAoInitialize
extensionCode
- A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int checkInExtension(int extensionCode) throws java.io.IOException, AutomationException
checkInExtension
in interface IAoInitialize
extensionCode
- A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws java.io.IOException, AutomationException
shutdown
in interface IAoInitialize
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int initializedProduct() throws java.io.IOException, AutomationException
initializedProduct
in interface IAoInitialize
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isExtensionCheckedOut(int extensionCode) throws java.io.IOException, AutomationException
isExtensionCheckedOut
in interface IAoInitialize
extensionCode
- A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLicenseProductName(int productCode) throws java.io.IOException, AutomationException
getLicenseProductName
in interface ILicenseInformation
productCode
- A com.esri.arcgis.system.esriLicenseProductCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLicenseExtensionName(int extensionCode) throws java.io.IOException, AutomationException
getLicenseExtensionName
in interface ILicenseInformation
extensionCode
- A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ILicenseInfoEnum getProductExtensions(int productCode) throws java.io.IOException, AutomationException
getProductExtensions
in interface ILicenseInformation
productCode
- A com.esri.arcgis.system.esriLicenseProductCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.