Hi,

I'm looking through the code trying to figure out if it is at all 
possible to do custom type-name mapping. Can't find any way to do it 
right now.

What I'm trying to accomplish is to be able to map from (in this case) 
.NET style namespaces and type standards (I/C type-names and camel-cased 
namespaces) to Java style (no casing on namespaces and no I/C prefix on 
types). I would settle for namespace mappings as a starter since that is 
most important, but if implemented it would be pretty natural to do full 
custom type-mapping. Example:

com.zyx.AnObserver -> Xyz.IAnObserver

..and of course the other way around.

The goal is for the user to be able to work with types in a platform 
dependent fashion.

I hacked the C# hessian implementation to ignore casing when it resolves 
the types (since the type-loader in C# provide this functionallity) but 
that is not possible in Java. Also it's not exactly what I'm looking 
for, just a brutal workaround. Hence I would like to do an 
implementation of this mapping if it doesn't exist.

Cheers,
/Niclas
PS! I'd be happy to provide this mapping if it doesn't exist. For Java 
and C#. However, I can't get a hold on the C# implementers (and can't 
register to their forums too) so if they see this please send me a mail 
and help out that issue.


_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to