[jboss-user] [JBoss Microcontainer Users] - how to instantiate a generic/parameterized MC bean/POJO in b

CsabaSzucs do-not-reply at jboss.com
Wed Nov 11 05:53:08 EST 2009


Hello,

would you please so kind to give an example of a jboss-beans.xml /bean deployer/ which instantiates a parameterized bean/POJO class like:

public class TypedRegistry {

	// ...

	public TypedRegistry() {
            // ...
	}
	
}

So how shall I define the type parameter for the constructor in the XML descriptor?

Many thanks!
Csaba


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264991#4264991

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264991



More information about the jboss-user mailing list