This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 254463 - JMX: Add isJPASession() attribute to WebLogic 10 runtime services MBean
Summary: JMX: Add isJPASession() attribute to WebLogic 10 runtime services MBean
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on: 248748
Blocks:
  Show dependency tree
 
Reported: 2008-11-06 10:31 EST by Michael OBrien CLA
Modified: 2022-06-09 10:26 EDT (History)
1 user (show)

See Also:


Attachments
eclipselink core patch (2.11 KB, patch)
2008-11-10 14:17 EST, Michael OBrien CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2008-11-06 10:31:27 EST
Requirement:
------------
The enterprise manager group requires a way to filter whether the session attached to a runtime services is an EclipseLink JPA or TopLink BMP session on the WebLogic server.

Constraints:
------------
1) No weblogic.jar API dependencies are to be introduced - Use reflective calls into weblogic.work.ExecuteThreadRuntime - if required
2) try not to add any dependency on the JPA component - even though the unrelated workaround fix for bug# 229634 already introduced dependencies
3) Possibly create a 10_3 subclass of the WebLogic_10_Platform class
Comment 1 Michael OBrien CLA 2008-11-10 14:15:55 EST
Currently EclipseLink supports JPA sessions on the container only.
A function will be added to EclipseLink that always returns true.
For other providers, the absence of this isJPASession() function (unset false) or false value will signify that the provider is other than EclipseLink.

This simplified functionality will avoid an instanceof check on session.acquireUnitOfWork().
 
Comment 2 Michael OBrien CLA 2008-11-10 14:17:32 EST
Created attachment 117470 [details]
eclipselink core patch
Comment 3 Michael OBrien CLA 2008-11-12 15:04:22 EST
see rev 2747
http://fisheye2.atlassian.com/changelog/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:26:07 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink