|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.system.AoInitialize
public class AoInitialize
Class initializes ArcObject components runtime environment. This class must be the first ArcObject created.
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.system.IAoInitialize |
|---|
IID, IID9ab6a638_aca8_4820_830c_463ea11c8722, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ILicenseInformation |
|---|
IID, IIDebe6bd5b_2f03_48f0_b68b_6de8c4bdef32, xxDummy |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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()
J-Integra for COM internal method |
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 a AoInitialize. |
void |
shutdown()
Shutdown method. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AoInitialize()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are problems communicating via DCOM
java.net.UnknownHostException - if the host can not be found
public AoInitialize(java.lang.String host)
throws java.io.IOException,
java.net.UnknownHostException
host - the host on which the object should be created
java.io.IOException - if there are problems communicating via DCOM
java.net.UnknownHostException - if the host can not be found
public AoInitialize(com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostExceptioncom.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.UnknownHostExceptioncom.esri.arcgis.interop.AuthInfo.setDefault(..)
public AoInitialize(java.lang.Object obj)
throws java.io.IOException
obj - an object returned from a COM server
java.io.IOException - if there are problems communicating via DCOM| Method Detail |
|---|
public static java.lang.String getClsid()
protected java.lang.String getJintegraVersion()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic 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.RemoteObjRefpublic 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 IAoInitializeproductCode - 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 IAoInitializeproductCode - 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 IAoInitializeproductCode - 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 IAoInitializeextensionCode - 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 IAoInitializeextensionCode - 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 IAoInitializejava.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 IAoInitializejava.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 IAoInitializeextensionCode - 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 ISupportErrorInforiid - 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 ILicenseInformationproductCode - 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 ILicenseInformationextensionCode - 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 ILicenseInformationproductCode - A com.esri.arcgis.system.esriLicenseProductCode constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||