tamboer / qrx-srv-oe

Automatically exported from code.google.com/p/qrx-srv-oe
0 stars 3 forks source link

Generic mechanism for plugin or extend utility classes #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Generic mechanism for plugin or extend utility classes
Ex:
dtUtil

Original issue reported on code.google.com by adrian.c...@gmail.com on 7 Dec 2011 at 7:13

GoogleCodeExporter commented 8 years ago

Original comment by adrian.c...@gmail.com on 17 Jan 2012 at 12:19

GoogleCodeExporter commented 8 years ago

Original comment by adrian.c...@gmail.com on 17 Jan 2012 at 12:49

GoogleCodeExporter commented 8 years ago
Do you mean by that, a functionality like for services:
 - there are base and core classes;
 - if in configuration xml or repository table, a custom service class is not defined, then the framework default one is used (core). (see Error, Context, Localization)

Original comment by shefa...@gmail.com on 17 Jan 2012 at 6:18

GoogleCodeExporter commented 8 years ago

Original comment by shefa...@gmail.com on 17 Jan 2012 at 6:18

GoogleCodeExporter commented 8 years ago
We can extend class Base.Util and make it like the ones from service pack, so 
that we have UtilBase and UtilCore. If you want to have a custom Util class 
then you can extend UtilBase and define it in config. On start-up of your 
environment you custom class will be loaded instead of the framework default 
one (UtilCore). 

Original comment by shefa...@gmail.com on 17 Jan 2012 at 7:23