Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] JMX / Getting DB Settings via web interface

I would recommend accessing the singleton SessionManager. Each persistence unit is actually a ServerSession and is cached within the SessionManager. This will give you a single place to access all active sessions. 

This does require additional enhancements to allow monitoring systems to access the full JPA persistence unit configuration.


-----Original Message-----
From: eclipselink-users-bounces@xxxxxxxxxxx
[mailto:eclipselink-users-bounces@xxxxxxxxxxx]On Behalf Of Vespa,
Anthony J
Sent: Monday, November 19, 2007 2:51 PM
To: EclipseLink User Discussions
Subject: [eclipselink-users] JMX / Getting DB Settings via web interface


I'm building an app using Eclipselink and I would like to have a little
servlet that essentially reads the in-memory settings (eg things like
what persistence units are configured to which dbs, what cachs
statistics can I get, etc) - I've looked through the api for toplink and
can't seem to find anything to do this.

Any ideas for getting this sort of info?


eclipselink-users mailing list

Back to the top