How slow is Reflection

后端 未结 7 2047
时光取名叫无心
时光取名叫无心 2020-12-02 07:43

I recently created an interface layer to distinguish the DataAccessProvider from our Business logic layer. With this approach we can change our choice of DataAccessProvider

7条回答
  •  余生分开走
    2020-12-02 07:55

    I was doing somethign similar until I started playing with IoC. I would use a Spring object definition to specify the data provider - SQL, XML, or Mocks!

提交回复
热议问题