protected BeanMetaDataFactory createBeanDataFactory(String name)
{
BeanMetaDataBuilder b = BeanMetaDataBuilder.createBuilder(name, SimpleAnnotatedBean.class.getName());
b.addAnnotation("@org.jboss.managed.api.annotation.ManagementObject(name=\""+ name +"\")");
b.addPropertyMetaData("stringProperty", "test" + name);
return b.asBeanMetaDataFactory();
}
private static final class TestMapper extends KernelDeploymentComponentMapper
{
public TestMapper(PersistenceFactory persistenceFactory)