/* 199 */ if (beanMetaData == null) {
/* 200 */ throw new WSException("Cannot obtain ejb meta data for: " + ejbName);
/* */ }
/* 202 */ if ((beanMetaData instanceof MDBMetaData))
/* */ {
/* 204 */ MDBMetaData mdMetaData = (MDBMetaData)beanMetaData;
/* 205 */ String jndiName = mdMetaData.getDestinationJndiName();
/* 206 */ idstr.append(",jms=" + jndiName);
/* */ }
/* */ }
/* */
/* 210 */ return ObjectNameFactory.create(idstr.toString());