<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic EngineInitializer in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/engineinitializer/m-p/572457#M15422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe I am having some threading issues and I'm wondering if EngineInitializer can help me.&amp;nbsp; I am using the Java APIs for ArcObjects.&amp;nbsp; I have a class with a bunch of static methods that interact with some custom extensions written in VB.NET.&amp;nbsp; These java methods perform functions like connecting to ArcMap and loading my extensions, loading a project, loading a layer, shutting down the application and others.&amp;nbsp; These methods can be called by different java threads.&amp;nbsp; Currently, only the method that connects to ArcMap calls the EngineInitializer.initializeEngine().&amp;nbsp; I'm wondering if all of the methods should call the EngineInitializer.&amp;nbsp; I need all ArcObject calls to use the same thread so that the Shared variables in my extensions are shared across all users to maintain the state of the extensions.&amp;nbsp; The documentation doesn't provide a very technical description of what the EnginInitializer does but I thought I saw on some charts a while back that it ensures all ArcObject calls use the STA model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Feb 2011 13:01:56 GMT</pubDate>
    <dc:creator>KenSimoncic</dc:creator>
    <dc:date>2011-02-24T13:01:56Z</dc:date>
    <item>
      <title>EngineInitializer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/engineinitializer/m-p/572457#M15422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe I am having some threading issues and I'm wondering if EngineInitializer can help me.&amp;nbsp; I am using the Java APIs for ArcObjects.&amp;nbsp; I have a class with a bunch of static methods that interact with some custom extensions written in VB.NET.&amp;nbsp; These java methods perform functions like connecting to ArcMap and loading my extensions, loading a project, loading a layer, shutting down the application and others.&amp;nbsp; These methods can be called by different java threads.&amp;nbsp; Currently, only the method that connects to ArcMap calls the EngineInitializer.initializeEngine().&amp;nbsp; I'm wondering if all of the methods should call the EngineInitializer.&amp;nbsp; I need all ArcObject calls to use the same thread so that the Shared variables in my extensions are shared across all users to maintain the state of the extensions.&amp;nbsp; The documentation doesn't provide a very technical description of what the EnginInitializer does but I thought I saw on some charts a while back that it ensures all ArcObject calls use the STA model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 13:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/engineinitializer/m-p/572457#M15422</guid>
      <dc:creator>KenSimoncic</dc:creator>
      <dc:date>2011-02-24T13:01:56Z</dc:date>
    </item>
  </channel>
</rss>

