On Sun February 22 2009 6:58:23 pm Cyrille Le Clerc wrote:
>    Hello Daniel,
>
>    I unfortunately have difficulties to use the provided
> InstrumentationManagerImpl on my Tomcat based web applications for the
> following reasons :
>
> * I want to create a unique MBeanServer Connector via a JVM parameter
> (-Dcom.sun.management.jmxremote.port=) and I cannot create one more
> connector per web app of my Tomcat.
> * I am interested in benefiting of the Spring Framework MBeanExporter
> to customise my MBeans Object Names and add theam a property that
> holds the Web Application Name (I run several web application in the
> same tomcats).
>
>    Would the CXF project be interested in contributions to leverage
> Spring JMX which partially overlaps with CXF JMX ?

Sure.   Definitely welcome.   :-)

The only real requirement is that the existing functionality should still work 
in the case where spring isn't used/available.   That's shouldn't be a huge 
deal though if what you have is an extension of the stuff that's there.    

Definitely file a Jira and submit a patch.   Definitely a welcome addition.

Dan


>
>    Cyrille
>
> --
> Cyrille Le Clerc
> http://blog.xebia.fr/
>
> On Thu, Feb 19, 2009 at 4:28 PM, Daniel Kulp <[email protected]> wrote:
> > With 2.1.4, the IM added some methods to call different methods on the
> > ManagementFactory.
> >
> > There is a usePlatformMBeanServer flag that will cause it to call:
> > ManagementFactory.getPlatformMBeanServer()
> >
> > And a serverName property that will cause it to call:
> > ManagementFactory.getPlatformMBeanServer(serverName)
> >
> > Not sure if either of them helps you or not.
> >
> > Dan
> >
> > On Thu February 19 2009 4:30:46 am Adrian C wrote:
> > > Hi,
> > >
> > > I am hoping to used CXF's JMX's instrumentation and from the quick look
> > > that I had a this there does not seem to be an out of the box way to
> > > integrate with an existing MBeanServer. The only way that I can see to
> > > do this is to override the InstrumentationManagerImpl init's method ...
> > >
> > > Am I mistaken in this? Is there another way to do this?
> > >
> > > Thanks
> >
> > --
> > Daniel Kulp
> > [email protected]
> > http://www.dankulp.com/blog

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to