private void resolve() {
EasyBeansDD easybeansDD = this.ejbMetadata.getEasyBeansDD();
if (easybeansDD != null) {
logger.debug("There is a specific Deployment Descriptor object, performing the merge of the metadata.");
// Analyze EJBs
EJB ejb = easybeansDD.getEJB();
if (ejb != null) {
// get session beans
List<Session> sessionList = ejb.getSessions();
if (sessionList != null) {
for (Session session : sessionList) {
// get ejb-name
String ejbName = session.getEjbName();
EasyBeansEjbJarClassMetadata classAnnotationMetadata = this.ejbMetadata
.getEjbJarClassMetadataForEjbName(ejbName);
// class is found, then apply all customization.
applySessionBean(session, classAnnotationMetadata);
}
}
// get MDB
List<MessageDrivenBean> mdbList = ejb.getMessageDrivenBeans();
if (mdbList != null) {
for (MessageDrivenBean mdb : mdbList) {
// get ejb-name
String ejbName = mdb.getEjbName();
EasyBeansEjbJarClassMetadata classAnnotationMetadata = this.ejbMetadata