john.hui
02-11-2007, 12:47 AM
Hi,
I am having some difficulty with the class Spring.Objects.Factory.Config.DelegateFactoryObjec t.
I need to set MethodName to a generic method. So I have the following statement in my XML Context:
<property name="MethodName" value="GenericMethod<SomeType>"/>
This gives me a {"Error binding to target method."} exception.
However, when I set it to a non generic method, there is no more exception.
I would like to know if MethodName supports generics.
Thank you.
John
I am having some difficulty with the class Spring.Objects.Factory.Config.DelegateFactoryObjec t.
I need to set MethodName to a generic method. So I have the following statement in my XML Context:
<property name="MethodName" value="GenericMethod<SomeType>"/>
This gives me a {"Error binding to target method."} exception.
However, when I set it to a non generic method, there is no more exception.
I would like to know if MethodName supports generics.
Thank you.
John