Change Notes item #417532, was updated on 2001-04-19 22:35 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=381174&aid=417532&group_id=22866 Category: None Group: v2.4 Status: Open Priority: 5 Submitted By: Jason Dillon (user57) Assigned to: Nobody/Anonymous (nobody) Summary: Config service and MBean constructors Initial Comment: The configuration service has been augmented to allow the specification of the constructor to use when creating a new instance of the MBean. To specify which constructor to use, a <constructor> element with nested <arg> elements is placed inside of a <mbean> element (in the jboss.jcml file). The <arg> elements attempt to follow the syntax used for <mlet> elements (in the jboss.conf file). Only one <constructor> element is allowed per <mbean>. If more than one is found, then an exception will be thrown. Example: <mbean code="MyMBean" name="name=myMBean"> <constructor> <arg type="java.lang.String" value="hello"/> <arg type="java.lang.String" value="there"/> </constructor> </mbean> This will cause the MyMBean(String, String)constructor to be used when creating the bean instance. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=381174&aid=417532&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
