RE: Restlets and JMX

2006-10-21 Thread Jerome Louvel
] Envoyé : jeudi 19 octobre 2006 23:51 À : discuss@restlet.tigris.org Objet : Re: Restlets and JMX Okay here are the results of my first test with JMX integration I was able to stop the container but when I try and start it again ... I get an address already bound exception So

RE: Restlets and JMX

2006-10-19 Thread Jerome Louvel
: mercredi 18 octobre 2006 20:35 À : discuss@restlet.tigris.org Objet : Re: Restlets and JMX Piyush Purang ppurang at gmail.com writes: Hi, The easiest way I see of integrating parts of restlet api is to declare the related MBean interfaces. The two interfaces that I see

Re: Restlets and JMX

2006-10-19 Thread Piyush Purang
Hi Jerome, What about lifecycles? It is nice to be able to document lifecycle of a restlet and container etc... Then we can expose status through the MBeans ... and ways (operations) to transit from one state to another. Looks like a comprehensive list and I don't see why we can't have a

RE: Restlets and JMX

2006-10-19 Thread Jerome Louvel
Hi Sean, I think any component or restlet that has useful telemetry and/or knobs is a candidate for exposure as an MBean. The two above make sense to me. Agreed. Logging control is a candidate. Actually, in beta 19, the call logging (writing a file similar to an HTTP log) will be

RE: Restlets and JMX

2006-10-19 Thread Jerome Louvel
Hi Pyiush, What about lifecycles? It is nice to be able to document lifecycle of a restlet and container etc... This would be centralized on RestletMBean because the Restlet class has the start(), stop(), isStarted() and isStopped() methods. Then we can expose status through the MBeans