Re: Dynamically registering a GBean

2006-03-22 Thread Aaron Mulder
Yes, you can. To add a GBean, fill out a GBeanData and then do something like this: Kernel kernel = ... (injected) ObjectName mine = (creator object name, normally injected) ObjectName oName = (new GBean object name) GBeanData data = ... EditableConfigurationManager mgr =

Re: Dynamically registering a GBean

2006-03-22 Thread Hiram Chirino
Awesome! This could give me a kewl approach to exposing the ActiveMQ objects in Geronimo.. Now if I could just have complex data (like say an xml fragment) injected into a gbean, then I would be so happy. Then I could implement 1 coarse gbean the represents the activemq broker with 1

Re: Dynamically registering a GBean

2006-03-22 Thread David Jencks
On Mar 22, 2006, at 11:12 AM, Hiram Chirino wrote: Awesome! This could give me a kewl approach to exposing the ActiveMQ objects in Geronimo.. Now if I could just have complex data (like say an xml fragment) injected into a gbean, then I would be so happy. You could do this today with an

Re: Dynamically registering a GBean

2006-03-22 Thread Hiram Chirino
On 3/22/06, David Jencks [EMAIL PROTECTED] wrote: On Mar 22, 2006, at 11:12 AM, Hiram Chirino wrote: Awesome! This could give me a kewl approach to exposing the ActiveMQ objects in Geronimo.. Now if I could just have complex data (like say an xml fragment) injected into a gbean, then I

Dynamically registering a GBean

2006-03-21 Thread Hiram Chirino
Hi Dain, Is possible to dynamicaly register/unregister a GBean in the kernel? Last time I checked, that was not really possible, but I'm hoping things have changed since then? -- Regards, Hiram