Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320684

Summary: JMX: Add reflective API as backup for module/application name derivation via classloader toString parsing
Product: z_Archived Reporter: Michael OBrien <michael.f.obrien>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P2 CC: peter.krogh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
URL: http://wiki.eclipse.org/EclipseLink/DesignDocs/316513
Whiteboard:
Bug Depends on: 316513    
Bug Blocks:    

Description Michael OBrien CLA 2010-07-22 22:09:06 EDT
For Glassfish,JBoss and WebSphere
>A more resilient algorithm that includes reflection is required that resists EE server implementation changes

The following EclipseLink 2.1.1 revision# 7901 contains the near final state of enhancement bug# 316513.
    Notably the getApplicationName() and getModuleName() functions now return appropriate PU and EE identifiers for EAR deployed to JBoss, WebSphere, Glassfish and WebLogic.
    The identifiers are all derived from the session and classloader toStrings() - avoiding reflective calls to these new servers - but still coupled to their implementation details.

http://fisheye2.atlassian.com/changelog/eclipselink/?cs=7901
Comment 1 Michael OBrien CLA 2010-07-28 10:27:20 EDT
>The ultimate goal of this bug is to call getModuleName() on the mbeanServer directly for each server - likely reflectively
>This work will commence just after 2.1.1 is frozen
Comment 2 Peter Krogh CLA 2011-06-20 14:06:15 EDT
bug scrubbing to future
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:26:25 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink