if(result instanceof JBossGenericBeanMetaData)
{
log.warn("FIXME: EJBTHREE-1227: JBossGenericBeanMetaData found for '" + ejbName + "' instead of " + enterpriseBeanMetaDataClass);
if(enterpriseBeanMetaDataClass.equals(JBossSessionBeanMetaData.class))
{
result = new JBossSessionGenericWrapper((JBossGenericBeanMetaData) result);
}
else if(enterpriseBeanMetaDataClass.equals(JBossMessageDrivenBeanMetaData.class))
{
result = new JBossMessageDrivenBeanGenericWrapper((JBossGenericBeanMetaData) result);
}