Pablo Lalloni wrote:
I am thinking about it this few days.Ejem... Have I said something unapropriate? I'm not very good with english so here are my apologies if that's the case.... sorry. If the core service implementation of a pooled service point defines its MBean interface, each instance should have its MBean registered in JMX. But the service point itself should be registered as one MBean as other kinds of service point.El Jue 09 Dic 2004 11:50, Pablo Lalloni escribió:Shouldn't the ServiceModel itself be exposed/used for managing the corresponding pool? Like Achim's current implementation, the JMX addition to Hivemind should include the following MBeans. 1) MBean for configuration points - the current implementation looks ok. 2) MBean for service points - one MBean per service point should be used. The basic MBean interface of a service point should be the same as its service model. Primitive / Singleton service model provides little information (e.g. service interface classname, whether the service has been instantiated in the singleton service model, the MBean of the core service instance if found, etc.), while Pooled service model provides additional information for the pool's statistics (number of active / created instances, etc.) If a user would like to provide additional managed attributes / operations, he must specify the managed interface in the contribution. If the given interface is the same or a sub-class of the service interface, we can use the service proxy / instance as the MBean. Otherwise, we should define a way how to wire the operation from the managed interface to the service interface. 3) MBean for the core service instance - we need Hivemind's internal support to register the MBean of a core service instance after its instantiation (may be as an Observer / EventListener). 4) MBean for the interceptor - we should generalize the idea of PerformanceMonitor to allow the interceptor factory to access the JMX server or add a new JMX enable interceptor factory. I agree with you that the separation of "business / management" interface is a good point, but the implementation must be simple and can handle all service models.
|
- JMX Support Achim Huegen
- Re: JMX Support Howard Lewis Ship
- Re: JMX Support Pablo Lalloni
- Re: JMX Support Eric Yung
- Re: JMX Support Achim Huegen
- Re: JMX Support Eric Yung
- Re: JMX Support Achim Huegen
- Re: JMX Support Pablo Lalloni
- Re: JMX Support Pablo Lalloni
- Eric Yung
