The folllowing code is taken from EndpointMetaData#eagerInitializeTypes:
| [...]
| String javaTypeName = tmMetaData.getJavaTypeName();
| QName xmlType = tmMetaData.getXmlType();
| if (xmlType != null)
| {
| List<Class> types = typeMapping.getJavaTypes(xmlType);
|
| boolean registered = false;
| for (Class current : types)
| {
| if (current.getName().equals(javaTypeName))
| {
| registered = true;
| break;
| }
| }
|
| if (registered == false)
| {
| // register type follows here
| [...]
|
In which cases is type already known (registered = true;) and doesnt need to be
registered?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025133#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...