AS-6416 add Category classes to generated BeanFactory

https://issues.jboss.org/browse/AS7-6416