The injection can't happen until the unitName variable is assigned a value.
Use final because the unitName cannot be changed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049883#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...