[jboss-dev-forums] [Design of POJO Server] - Re: Serialization, NoSuchMethodException in ProfileServiceUn
scott.stark@jboss.org
do-not-reply at jboss.com
Mon Dec 17 13:57:39 EST 2007
Ok, I see. The initial implementation getGenericArrayType that should be simple is to handle primitive arrays.
The problem is that the getGenericArrayType does not belong in the WeakTypeClass as a private method as it cannot be override to return an ArrayInfo. The implementation should simply be the following in IntrospectionTypeInfoFactoryImpl:
| protected ArrayInfo getGenericArrayType(GenericArrayType type)
| {
| Type compType = type.getGenericComponentType();
| TypeInfo componentType = getTypeInfo(compType);
| ArrayInfoImpl result = new ArrayInfoImpl(componentType);
| return result;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113515#4113515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113515
More information about the jboss-dev-forums
mailing list