// one(facade).addClassAnnotation("test.TestBean", TransactionAttribute.class, createNameValuePair("value", TransactionAttributeType.MANDATORY)); //$NON-NLS-1$ //$NON-NLS-2$
// one(facade).addMethodAnnotation("test.TestBean", "test", new String[] { "java.lang.String" }, TransactionAttribute.class, createNameValuePair("value", TransactionAttributeType.MANDATORY)); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
}});
EnterpriseBean enterpriseBean = new StatefulBean();
enterpriseBean.setEjbName("TestBean"); //$NON-NLS-1$
enterpriseBean.setEjbClass("test.TestBean"); //$NON-NLS-1$
enterpriseBean.setTransactionType(TransactionType.BEAN);
AssemblyDescriptor descriptor = new AssemblyDescriptor();
addMethodTransactionToDescriptor(descriptor, "TestBean", "*", new String[0]); //$NON-NLS-1$ //$NON-NLS-2$
addMethodTransactionToDescriptor(descriptor, "TestBean", "test", new String[] { "java.lang.String" }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$