bean.setEjbName(ejbName);
if(mappedName != null && mappedName.length() > 0)
bean.setMappedName(mappedName);
if(description != null && description.length() > 0)
{
DescriptionGroupMetaData descriptionGroup = new DescriptionGroupMetaData();
DescriptionsImpl descriptions = new DescriptionsImpl();
DescriptionImpl descriptionImpl = new DescriptionImpl();
descriptionImpl.setDescription(description);
descriptions.add(descriptionImpl);
descriptionGroup.setDescriptions(descriptions);
bean.setDescriptionGroup(descriptionGroup);
}
TransactionManagement txMgmt = finder.getAnnotation(beanClass, TransactionManagement.class);
TransactionManagementType txType = TransactionManagementType.CONTAINER;