-
February 13th, 2023, 08:32 AM
#6
Since the Adapter Sets are isolated from each other because they are in different classloaders, they can communicate with the same techniques two different processes could use to communicate.
But if you want them to see each other at Java level, you can leverage the "shared" folder. There you can put classes that will be inherited by the classloaders of both Adapter Sets.
So, for instance, the code in two Adapters belonging to different Adapter Sets can exchange messages by accessing a singleton of a class supplied in the Shared folder and use it as a bridge.
This feature is available if the Adapters in the two Adapter Sets configure the <classloader> property (see the previous post by Giuseppe) as "common" or "dedicated".
BTW, Giuseppe suggested the "log_enabled" setting instead. For this new purpose, you cannot leverage this option, but this just means that your Adapters will have to include their own log infrastructure (or lean on the JDK).
Similar Threads
-
By rvkvino in forum General
Replies: 25
Last Post: December 19th, 2017, 09:08 AM
-
By rvkvino in forum General
Replies: 1
Last Post: October 3rd, 2017, 09:14 AM
-
By shabbirh in forum Client SDKs
Replies: 1
Last Post: April 23rd, 2013, 09:27 AM
-
By itcecsa in forum Adapter SDKs
Replies: 1
Last Post: April 10th, 2013, 09:09 AM
-
By stephenlam in forum Client SDKs
Replies: 5
Last Post: April 22nd, 2010, 09:19 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 08:56 PM.
Bookmarks