I appologize if similar question has passed here once,.. but anyway.
I have MBean which has ctor with String parameter. Now my purpose is to force jboss to call this ctor instead of default one that I know how to arrange in jboss-service.xml file or xmbean-dd one.
I saw some examples in the Net, mostly they address me to jboss-service file with the following notation:
<mbean code="package_path.SomeName" name="jboss:service=SomeName" xmbean-dd="conf/SomeNameService-xmbean.xml"> <attribute name="Measurement">Time</attribute> </mbean>
<mbean> <constructor> <description>Parametrized Constructor</description> <name>ConstructorName</name> <parameter>Time</parameter> </constructor> </mbean>