com.esri.arcgis.addinframework
Class InternalExtension

java.lang.Object
  extended by com.esri.arcgis.addinframework.AddIn
      extended by com.esri.arcgis.addinframework.InternalExtension
All Implemented Interfaces:
IExtension, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
InternalExtensionConfig

public class InternalExtension
extends AddIn
implements IExtension, java.io.Externalizable

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Constructor Summary
InternalExtension()
           
 
Method Summary
 java.lang.String getName()
          The name of the extension.
 void readExternal(java.io.ObjectInput in)
           
 void seed(java.lang.Object delegate)
           
 void setParameters(IAddInRecord record, IFactoryHook factoryHook)
           
 void shutdown()
          Shuts down the extension.
 void startup(java.lang.Object initializationData)
          Starts up the extension with the given initialization data.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.addinframework.AddIn
getApp, nativeGetPictureFromIStream, nativeGetPictureFromStream, read, readCursorFromStream, readPictureFromIStream, readPictureFromStream, readSubnode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

InternalExtension

public InternalExtension()
Method Detail

seed

public void seed(java.lang.Object delegate)
Specified by:
seed in class AddIn

setParameters

public void setParameters(IAddInRecord record,
                          IFactoryHook factoryHook)
Specified by:
setParameters in class AddIn

getName

public final java.lang.String getName()
                               throws java.io.IOException,
                                      AutomationException
The name of the extension.

Specified by:
getName in interface IExtension
Returns:
The extensionName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public final void startup(java.lang.Object initializationData)
                   throws java.io.IOException,
                          AutomationException
Starts up the extension with the given initialization data.

Specified by:
startup in interface IExtension
Parameters:
initializationData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Shuts down the extension.

Specified by:
shutdown in interface IExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException