[jboss-dev-forums] [Design of POJO Server] - Re: unit.getAttachment(Class type) returning null

scott.stark@jboss.org do-not-reply at jboss.com
Tue Apr 24 02:28:13 EDT 2007


Right, the key for the getAttachment(class) call is the class name. If a different name was used, you need to use the getAttachment(String name, Class expectedType) method.

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

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



More information about the jboss-dev-forums mailing list