|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJITExtensionManager
Provides access to the Just In Time Extension Manager.
The IJITExtensionManager interface provides properties and methods for inserting, removing and managing JIT (just-in-time) extensions. JIT extensions are like standard extensions, however they are not started up at application startup, but only when they are required.
IJITExtensionManager is not normally called by client code.
See the About Extensions topics for more details on just-in-time extensions.
Method Summary | |
---|---|
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. |
void |
insertExtension(IUID pExtCLSID,
IExtension pExtension)
Adds an extension to the manager without initialization. |
boolean |
isExtensionEnabled(IUID pExtCLSID)
Indicates whether the extension is currently checked on. |
boolean |
isLoaded(IUID pID)
Indicates whether the extension is currently loaded. |
void |
removeExtension(IExtension pExtension)
Removes a just in time extension from the manager. |
Method Detail |
---|
int getJITExtensionCount() throws IOException, AutomationException
Returns the number of JIT extensions currently in the application. This does not include any ordinary extensions.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUID getJITExtensionCLSID(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isLoaded(IUID pID) throws IOException, AutomationException
Indicates whether the specified JIT extension is loaded. A JIT extension will be loaded the first time that IApplication::FindExtensionByCLSID is called for that extension. Use the JITExtensionCLSID property to get the UID of the extension.
pID
- A reference to a com.esri.arcgis.system.IUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeExtension(IExtension pExtension) throws IOException, AutomationException
Removed the specified JIT extension from the ExtensionManager.
pExtension
- A reference to a com.esri.arcgis.system.IExtension (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insertExtension(IUID pExtCLSID, IExtension pExtension) throws IOException, AutomationException
Adds the specified JIT extension to the ExtensionManager. Note that a JIT extension will be loaded the first time that IApplication::FindExtensionByCLSID is called for that extension.
pExtCLSID
- A reference to a com.esri.arcgis.system.IUID (in)pExtension
- A reference to a com.esri.arcgis.system.IExtension (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isExtensionEnabled(IUID pExtCLSID) throws IOException, AutomationException
Indicates whether the specified JIT extension is enabled. Use the JITExtensionCLSID property to get the UID of the extension.
pExtCLSID
- A reference to a com.esri.arcgis.system.IUID (in)
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 |