This content has been marked as final.
Show 4 replies
-
1. Re: How are the Notifications send in ServiceController hand
dimitris Jun 29, 2006 10:38 AM (in response to vickyk)You don't really care who receives the notification, that's the whole point: anyone can subscribe to it.
One example might be the management layer that creates its jsr77 view based on notifications received by other mbeans. -
2. Re: How are the Notifications send in ServiceController hand
starksm64 Jun 29, 2006 10:42 AM (in response to vickyk)Right, see the org.jboss.management.j2ee.LocalJBossServerDomain jsr77 implementation in the jboss-x/management module which illustrates a service registering to receive lifecycle notifications.
-
3. Re: How are the Notifications send in ServiceController hand
vickyk Jun 30, 2006 4:27 AM (in response to vickyk)
You don't really care who receives the notification, that's the whole point: anyone can subscribe to it.
Ok that means if you have a dependent custom Management Layer you will subscribe it to listen to the Notification generated by the booting process. I am not able to think/visualize of any the real use case , can you please provide me some ?
Regards
Vicky -
4. Re: How are the Notifications send in ServiceController hand
starksm64 Jun 30, 2006 11:21 AM (in response to vickyk)The usecase is illustrated by the current jsr77 implementation. Originally this was a tightly coupled feature of the deployers. Now the deployers simply emit their state change notifications and the jsr77 implementation is layer on top that builds the jsr77 tree.