private void addTransactionAnnotations(EJBContainer container, JBossEnterpriseBeanMetaData enterpriseBean, String ejbName)
throws ClassNotFoundException, NoSuchMethodException, NoSuchFieldException
{
if (enterpriseBean != null)
{
TransactionManagementType transactionType = enterpriseBean.getTransactionType();
if (transactionType != null)
{
TransactionManagementImpl annotation = new TransactionManagementImpl();
annotation.setValue(transactionType);
addClassAnnotation(container, TransactionManagement.class, annotation);