The enum would work, as it gives the developer greater control. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269348#4269348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269348