[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [eclipselink-users] JMX / Getting DB Settings via web interface
- From: "Doug Clarke" <douglas.clarke@xxxxxxxxxx>
- Date: Mon, 19 Nov 2007 17:15:27 -0500
- Delivered-to: email@example.com
- Thread-index: Acgq5YyuyL0gkCajQ3Cw8vXuYW91AgAE+6GA
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.
[mailto:eclipselink-users-bounces@xxxxxxxxxxx]On Behalf Of Vespa,
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