com.esri.arcgis.system
Class EngineContext

java.lang.Object
  extended by com.esri.arcgis.system.EngineContext

public class EngineContext
extends Object

EngineContext represents an ArcGIS Engine application context and provides a method for creating new instances of ArcGIS Java extensions. Examples of extensions that require explicit instance creation include Custom Feature Renderer, Custom Utility Object, Custom PlugIn-DataSource, etc.


Constructor Summary
EngineContext()
           
 
Method Summary
static Object createObject(Class classDef)
          Creates a new instance of an ArcGIS Java extension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineContext

public EngineContext()
Method Detail

createObject

public static Object createObject(Class classDef)
                           throws AutomationException
Creates a new instance of an ArcGIS Java extension. This method creates a new instance of an ArcGIS Java extension and returns a Dynamic Proxy to that extension. The Dynamic Proxy exposes only ArcObject interfaces and custom interfaces (annotated with @ArcGISExtension) implemented by the extension.

Parameters:
classDef - The class that defines an ArcGIS Java extension.
Returns:
An instance of an ArcGIS Java extension.
Throws:
AutomationException