-
June 1st, 2018, 09:40 AM
#8
Hello Rajesh, We don't have direct experience with this specific integration to share, but in principle we don't pose any restriction on what you can put in the adapters.
However, the Adapters are loaded in dedicated ClassLoaders and this should be taken into account.
See the "classloader" elements in adapters.xml.
To have the Data and Metadata Adapter see each other, it is enough that you stick to the default configuration.
In this case, a single ClassLoader loads everything in the "lib" subdirectory and is used to load both adapters.
In this way, also any external library that you put in the common "lib" subdirectory is visible from both adapters.
The same ClassLoader is also set as the "context ClassLoader" in all invocations to the adapters.
You should ensure that the library doesn't have additional requirements that are not compatible with this structure.
It may also be important to consider the order in which the Adapters are loaded and initialized.
By leveraging the <metadata_adapter_initialised_first> element in adapters.xml you can ensure that the load and initialization of the Metadata Adapter is the first entry point in your code.
Similar Threads
-
By sjohn in forum Client SDKs
Replies: 11
Last Post: January 23rd, 2015, 11:22 AM
-
By tstojano in forum Client SDKs
Replies: 1
Last Post: August 13th, 2008, 04:12 PM
-
By TonyRoberts in forum Adapter SDKs
Replies: 10
Last Post: September 12th, 2007, 02:46 PM
-
By Waddy in forum Client SDKs
Replies: 4
Last Post: May 14th, 2007, 02:38 PM
-
By Waddy in forum General
Replies: 2
Last Post: March 16th, 2007, 06:06 AM
Tags for this Thread
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 05:56 AM.
Bookmarks