Normally you do this by writing a *-service.xml file showing the mbeans you want with their attribute values. Pretty much all of jboss is started and configured this way, look in the deploy dir for examples. If your mbeans implement create(), start(), stop() or destroy() methods they will be called as your mbean is deployed/undeployed unless you take special steps.
You can packge the classes together with the dd in a .sar file: (classes) META-INF /jboss-service.xml and have both deployed together david jencks On 2002.12.18 12:10:31 -0500 "FLYNN, Peter -Syntegra UK" wrote: > Hi, > > I have some MBeans that I want to register and manage under JBOSS. > They are not J2EE Servlets or EJB's, but simple service MBeans. > Is it possible to do this under JBOSS? > > Regards, > Peter > > > ******************************************************************** > > This email may contain information which is privileged or confidential. > If you are not the intended recipient of this email, please notify the > sender immediately and delete it without reading, copying, storing, > forwarding or disclosing its contents to any other person > Thank you > > Check us out at http://www.syntegra.com > > ******************************************************************** > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> > <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2651.75"> > <TITLE>Deployment of MBean under JBOSS 3</TITLE> > </HEAD> > <BODY> > > <P><FONT SIZE=2>Hi,</FONT> > </P> > > <P><FONT SIZE=2>I have some MBeans that I want to register and manage > under JBOSS. </FONT> > <BR><FONT SIZE=2>They are not J2EE Servlets or EJB's, but simple service > MBeans.</FONT> > <BR><FONT SIZE=2>Is it possible to do this under JBOSS? </FONT> > </P> > > <P><FONT SIZE=2>Regards,</FONT> > <BR><FONT SIZE=2>Peter </FONT> > </P> > > <CODE><FONT SIZE=3><BR> > <BR> > ********************************************************************<BR> > <BR> > This email may contain information which is privileged or confidential. > If you are not the intended recipient of this email, please notify the > sender immediately and delete it without reading, copying, storing, > forwarding or disclosing its contents to any other person<BR> > Thank you<BR> > <BR> > Check us out at http://www.syntegra.com<BR> > <BR> > ********************************************************************<BR> > </FONT></CODE> > </BODY> > </HTML> ------------------------------------------------------- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
