_activationSpec.validate();
} catch (Exception e) {
throw error(e);
}
MessageListenerConfig listener = ra.getMessageListener(specName);
_messagingType = listener.getMessageListenerType();
}
else if (MessageListener.class.isAssignableFrom(getEJBClass())) {
_messagingType = MessageListener.class;
}
else