public class ExtensionManager extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IExtensionManager, IExtensionManagerAdmin, ISupportErrorInfo, IJITExtensionManager
Description 'Extension Manager - a singleton.' 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 =
IID, IID05c71634_d9d5_4d6f_b68e_d7661142fa06, xxDummy
IID, IID262c00f9_114d_45f8_bc9d_a0dd208dc9e1, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, IID0e3b4663_4ca5_4638_aa4a_7d89878209e5, xxDummy
Constructor and Description |
---|
ExtensionManager()
Constructs a ExtensionManager using ArcGIS Engine.
|
ExtensionManager(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ExtensionManager theExtensionManager = (ExtensionManager) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(IUID extensionCLSID,
java.lang.Object initializationData)
Creates a single extension given the CLSID, then passes initializationData to IExtension::Startup.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IExtension |
findExtension(java.lang.Object nameOrID)
Finds the extension by CLSID (IUID) or name (String).
|
static java.lang.String |
getClsid()
getClsid.
|
IExtension |
getExtension(int index)
The extension at the specified index.
|
IUID |
getExtensionCLSID(int index)
The CLSID of the extension at the specified index.
|
int |
getExtensionCount()
The number of extensions loaded in the application.
|
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.
|
IUID |
getJITExtensionCLSID(int index)
Retrieves the CLSID of the JIT Extension at index.
|
int |
getJITExtensionCount()
The number of just in time extensions registered with the application.
|
int |
hashCode()
the hashcode for this object
|
void |
insertExtension(IUID pExtCLSID,
IExtension pExtension)
Adds an extension to the manager without initialization.
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isExtensionEnabled(IUID pExtCLSID)
Indicates whether the extension is currently checked on.
|
boolean |
isLoaded(IUID pID)
Indicates whether the extension is currently loaded.
|
void |
release()
Release this COM object reference
|
void |
removeExtension(IExtension pExtension)
Removes a just in time extension from the manager.
|
void |
shutdownExtensions()
Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.
|
void |
startupExtensions(IUID componentCategory,
IUID jitCategory,
java.lang.Object initializationData)
Creates and starts the extensions for the given component category, passing initializationData to each in IExtension::Startup.
|
public ExtensionManager() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ExtensionManager(java.lang.Object obj) throws java.io.IOException
ExtensionManager theExtensionManager = (ExtensionManager) obj;
obj
to ExtensionManager
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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 int getExtensionCount() throws java.io.IOException, AutomationException
getExtensionCount
in interface IExtensionManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IExtension getExtension(int index) throws java.io.IOException, AutomationException
getExtension
in interface IExtensionManager
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IUID getExtensionCLSID(int index) throws java.io.IOException, AutomationException
getExtensionCLSID
in interface IExtensionManager
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IExtension findExtension(java.lang.Object nameOrID) throws java.io.IOException, AutomationException
findExtension
in interface IExtensionManager
nameOrID
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void startupExtensions(IUID componentCategory, IUID jitCategory, java.lang.Object initializationData) throws java.io.IOException, AutomationException
startupExtensions
in interface IExtensionManagerAdmin
componentCategory
- A reference to a com.esri.arcgis.system.IUID (in)jitCategory
- A reference to a com.esri.arcgis.system.IUID (in)initializationData
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void shutdownExtensions() throws java.io.IOException, AutomationException
shutdownExtensions
in interface IExtensionManagerAdmin
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addExtension(IUID extensionCLSID, java.lang.Object initializationData) throws java.io.IOException, AutomationException
addExtension
in interface IExtensionManagerAdmin
extensionCLSID
- A reference to a com.esri.arcgis.system.IUID (in)initializationData
- A Variant (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 int getJITExtensionCount() throws java.io.IOException, AutomationException
getJITExtensionCount
in interface IJITExtensionManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IUID getJITExtensionCLSID(int index) throws java.io.IOException, AutomationException
getJITExtensionCLSID
in interface IJITExtensionManager
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isLoaded(IUID pID) throws java.io.IOException, AutomationException
isLoaded
in interface IJITExtensionManager
pID
- A reference to a com.esri.arcgis.system.IUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void removeExtension(IExtension pExtension) throws java.io.IOException, AutomationException
removeExtension
in interface IJITExtensionManager
pExtension
- A reference to a com.esri.arcgis.system.IExtension (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void insertExtension(IUID pExtCLSID, IExtension pExtension) throws java.io.IOException, AutomationException
insertExtension
in interface IJITExtensionManager
pExtCLSID
- A reference to a com.esri.arcgis.system.IUID (in)pExtension
- A reference to a com.esri.arcgis.system.IExtension (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isExtensionEnabled(IUID pExtCLSID) throws java.io.IOException, AutomationException
isExtensionEnabled
in interface IJITExtensionManager
pExtCLSID
- A reference to a com.esri.arcgis.system.IUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.