<?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 Re: Can the ServiceLoader provide by Java be used in Windchill+? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Can-the-ServiceLoader-provide-by-Java-be-used-in-Windchill/m-p/998463#M9508</link>
    <description>&lt;P&gt;All new territory. Is this something WReadE is supposed to identify? Please post if you find a solution on your own. You might want to reach out to the PTC folks who presented at this years conference. Lots of discussion on how Windchill+ will impact development.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 12:46:10 GMT</pubDate>
    <dc:creator>avillanueva</dc:creator>
    <dc:date>2025-02-13T12:46:10Z</dc:date>
    <item>
      <title>Can the ServiceLoader provide by Java be used in Windchill+?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Can-the-ServiceLoader-provide-by-Java-be-used-in-Windchill/m-p/998086#M9491</link>
      <description>&lt;P&gt;Version: Windchill 13.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: When running a custom service the service must be able to dynamically load classes that are described with their fully qualified names in a configuration file (or other form of storage depending on if the system is Windchill+ or not)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I have understood things correctly I will not be able to use reflection in custom code that I want to install in a Windchill+ environment. Will I be able to use the standard ServiceLoader provided by Java?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As mentioned in the Use Case I am looking for a way to dynamically load classes based on some type of configuration. In an on-prem environment I can easily use Class.forName to get my class but if I understand things correctly this will be possible in Windchill+.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Will I be able to use the ServiceLoader to have the same (more or less) functionality? If not, does anyone know of some other way to accomplish the same result?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;BR /&gt;Daniel Martinsson&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 08:04:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Can-the-ServiceLoader-provide-by-Java-be-used-in-Windchill/m-p/998086#M9491</guid>
      <dc:creator>dsodling</dc:creator>
      <dc:date>2025-02-12T08:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can the ServiceLoader provide by Java be used in Windchill+?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Can-the-ServiceLoader-provide-by-Java-be-used-in-Windchill/m-p/998463#M9508</link>
      <description>&lt;P&gt;All new territory. Is this something WReadE is supposed to identify? Please post if you find a solution on your own. You might want to reach out to the PTC folks who presented at this years conference. Lots of discussion on how Windchill+ will impact development.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 12:46:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Can-the-ServiceLoader-provide-by-Java-be-used-in-Windchill/m-p/998463#M9508</guid>
      <dc:creator>avillanueva</dc:creator>
      <dc:date>2025-02-13T12:46:10Z</dc:date>
    </item>
  </channel>
</rss>

