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

javascript - Can Piwik report referrer in real time? -

asp.net - Google Drive Access: At least one client secrets (Installed or Web) should be set -

excel vba add hyperlink to shape in group -