com.esri.arcgis.addinframework
Class AddInFactory
java.lang.Object
com.esri.arcgis.addinframework.AddInFactory
- All Implemented Interfaces:
- IAddInFactory, Serializable
public class AddInFactory
- extends Object
- implements IAddInFactory
- See Also:
- Serialized Form
Method Summary |
void |
createObject(IAddInRecord record,
Object outer,
Object[] result)
Create an instance of the specified object. |
void |
initialize(IFactoryHook arg0)
Called to initialize the addin manager (normally called at application startup). |
void |
shutdown()
Called to shutdown the addin manager (normally called at application shutdown). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddInFactory
public AddInFactory()
createObject
public void createObject(IAddInRecord record,
Object outer,
Object[] result)
throws IOException,
AutomationException
- Create an instance of the specified object.
- Specified by:
createObject
in interface IAddInFactory
- Parameters:
pRecord
- A reference to a com.esri.arcgis.addinframework.IAddInRecord (in)pUnkOuter
- A reference to another Object (IUnknown) (in)ppObj
- A reference to another Object (IUnknown) (out: use single element array)
- Throws:
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
initialize
public void initialize(IFactoryHook arg0)
throws IOException,
AutomationException
- Called to initialize the addin manager (normally called at application startup).
- Specified by:
initialize
in interface IAddInFactory
- Parameters:
pHook
- A reference to a com.esri.arcgis.addinframework.IFactoryHook (in)
- Throws:
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
shutdown
public void shutdown()
throws IOException,
AutomationException
- Called to shutdown the addin manager (normally called at application shutdown).
- Specified by:
shutdown
in interface IAddInFactory
- Throws:
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.