java - How to create Orika global Object Factory? -


is there way create global object factory? mean, example:

this.mapper.map(source, myclass.class); this.mapper.map(source, myclass2.class); 

i want when orika creates myclass , myclass2 instance through custom object factory, not classes, want each one.

is there generic way accomplish this? reason because using spring , want custom object factory add instances applicationcontext when creates one.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -