Hi! Scott M Stark wrote: > I'm using the latest cvs snapshot and I have added two custom mbeans to the end of >jboss.jcml > file. The mbeans in the file before mine are not being initialized completely before >my > preRegister method is called. What is the correct way to register my mbeans such that > the jboss mbeans are fully initialized before my mbeans are loaded? Use the Service interface so that you get "start"/"stop" methods in which you place your code. If you don't want to use JBoss interfaces in your code, then simply make sure you have the same methods as the Service interface. The procedure is (for jboss.jcml): * Instantiate and register all MBeans * Apply settings from jboss-auto.jcml * Apply settings from jboss.jcml * Call init on all MBeans (some may not have this method though) * Call start on all MBeans (some may not have this method though) /Rickard -- Rickard �berg Email: [EMAIL PROTECTED]
- Merry X-mas [was RE: [jBoss-Dev] The Dumbo problem (Big EAR... marc fleury
- Re: Merry X-mas [was RE: [jBoss-Dev] The Dumbo problem... Rickard Oberg
- RE: Merry X-mas [was RE: [jBoss-Dev] The Dumbo problem... marc fleury
- Re: Merry X-mas [was RE: [jBoss-Dev] The Dumbo problem... Rickard Oberg
- [jBoss-Dev] Pls unsubscibe me sowen
- RE: [jBoss-Dev] Pls unsubscibe me marc fleury
- Re: [jBoss-Dev] Pls unsubscibe me sowen
- RE: [jBoss-Dev] Pls unsubscibe me marc fleury
- [jBoss-Dev] So it's all about RESPECT... marc fleury
- [jBoss-Dev] How to use the new jboss.jcml to control s... Scott M Stark
- [jBoss-Dev] How do I get the correct source for a lib/... Rickard �berg
- [jBoss-Dev] How do I get the correct source for a lib/... Scott M Stark
- [jBoss-Dev] Bugzilla is down Scott M Stark
- Re: [jBoss-Dev] Bugzilla is down Daniel Schulze
- [jBoss-Dev] Patch to JNDIView to support display of tr... Scott M Stark
- Re: [jBoss-Dev] Patch to JNDIView to support display o... Daniel Schulze
- Re: [jBoss-Dev] Patch to JNDIView to support display o... Scott M Stark
- RE: [jBoss-Dev] Bugzilla is down achandra
