----- Original Message -----
From: curtisr7@xxxxxxxxx
To: eclipselink-dev@xxxxxxxxxxx
Sent: Wednesday, December 17, 2014 4:03:05 PM GMT -05:00 US/Canada Eastern
Subject: Re: [eclipselink-dev] Adding extension points to EclipseLink
I like the idea of having a NoPlatformDetector that is first in line, and checks the ClassLoader to see if it is a basic app classloader. This will minimize the cost for anyone that isn't running in an app server env.
> and we don't know how expensive their checkPlatform calls might be
We would need to keep a very close on eye on PlatformDetectors to ensure that they aren't doing any heavy lifting. This detection mechanism must be lightweight.
Looking at the ClassLoader won't help my case where I need to differentiate between two different WebSphere application servers. I would guess that the ClassLoader path might also have problems differentiating between WLS9 and WLS10?
> If classLoader.getClas().getName() has "weblogic" in it then we immediately call WebLogicPlatformDetrector, which will decide whether its wls9 or wls10.
Thanks,
Rick