[JBoss-dev] Re: ServiceMBeanSupport init and destroy commented out
Revision 1.5 / (download) / (as text) - annotate - [select for diffs] , Mon Nov 12 06:52:17 2001 UTC (3 weeks, 4 days ago) by d_jencks Branch: MAIN CVS Tags: Rel_2_4_4_15 Changes since 1.4: +15 -15 lines Diff to previous 1.4 Changes to move toward eliminating init and destroy from Service interface, and make J2eeDeployer use mbean-refs. (2nd try at committing - is cvs acting weird? ?:|, David, I am not up for a 50 mail thread on that one but I think it was an oversight, I will uncomment, write if you want to discuss so we have something to fight over during the weekend __ View: http://jboss.org/forums/thread.jsp?forum=66thread=5197 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Re: ServiceMBeanSupport init and destroy commented out
huh. in fact removing these means that if you don't define it in the extension then Scott's Proxy wont' call the init and destroy and if you give them then they get called. Since you define start/stop you still get the state variable of JSR77 set properly... interesting. I am almost tempted to leave it out of MBeanSupport as if you need it you will implement it and if you don't need it then it at least doesn't get called. __ View: http://jboss.org/forums/thread.jsp?forum=66thread=5197 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Re: ServiceMBeanSupport init and destroy commented out
Marc, init/destroy are never called on a ServiceMBean. (At least they aren't called on mine) So uncommenting them does nothing. I assume they were commented out when David J made the change from two stage init/destroy to 1 stage. (Which, BTW, broke every serivce I had written previously since I used start/stop to pause/unpause, and init/destroy to create/destroy expensive resources. But, that's a different thread) On Fri, 07 Dec 2001, marc fleury wrote: Revision 1.5 / (download) / (as text) - annotate - [select for diffs] , Mon Nov 12 06:52:17 2001 UTC (3 weeks, 4 days ago) by d_jencks Branch: MAIN CVS Tags: Rel_2_4_4_15 Changes since 1.4: +15 -15 lines Diff to previous 1.4 Changes to move toward eliminating init and destroy from Service interface, and make J2eeDeployer use mbean-refs. (2nd try at committing - is cvs acting weird? ?:|, David, I am not up for a 50 mail thread on that one but I think it was an oversight, I will uncomment, write if you want to discuss so we have something to fight over during the weekend __ View: http://jboss.org/forums/thread.jsp?forum=66thread=5197 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Re: ServiceMBeanSupport init and destroy commented out
huh I really like the create/destroy as opposed to init/destroy, words sometimes are powerful, I mean the first one clearly says what it needs to say, I will use that instead. huh. marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of David |Budworth |Sent: Friday, December 07, 2001 10:35 PM |To: marc fleury |Cc: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] Re: ServiceMBeanSupport init and destroy |commented out | | |Marc, init/destroy are never called on a ServiceMBean. (At least they |aren't called on mine) | |So uncommenting them does nothing. | |I assume they were commented out when David J made the change from two |stage init/destroy to 1 stage. (Which, BTW, broke every serivce I |had written |previously since I used start/stop to pause/unpause, and init/destroy to |create/destroy expensive resources. But, that's a different thread) | | | |On Fri, 07 Dec 2001, marc fleury wrote: | | Revision 1.5 / (download) / (as text) - annotate - [select for |diffs] , Mon Nov 12 06:52:17 2001 UTC (3 weeks, 4 days ago) by d_jencks | Branch: MAIN | CVS Tags: Rel_2_4_4_15 | Changes since 1.4: +15 -15 lines | Diff to previous 1.4 | | Changes to move toward eliminating init and destroy from Service |interface, and make J2eeDeployer use mbean-refs. (2nd try at |committing - is cvs acting weird? | | ?:|, David, I am not up for a 50 mail thread on that one but I |think it was an oversight, I will uncomment, write if you want to |discuss so we have something to fight over during the weekend | | __ | View: http://jboss.org/forums/thread.jsp?forum=66thread=5197 | | ___ | Jboss-development mailing list | [EMAIL PROTECTED] | https://lists.sourceforge.net/lists/listinfo/jboss-development | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development