Description
While prototyping message driven service name space handler, I ran into the following with Parser.java
1. the parseElement method seems to assume the beanMetadata is always not the top element and this may not be true always. It is better to check if the enclosingComponent is null to determine is the bean is top level or not.
2. the parseElement method doesn't process ServiceMetadata type