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
Post a Comment