We developing a modular framework for our enterprise applications, In our applications we have multiple module that contains several Entity and Business classes and Business event's ... In many places inside the framework we have to use reflection to gather these classes to find relation between them (for example in some cases we want to find business of specific entity) Now we decided to make layer and named it metadata layer, which it start to gather all of this objects and make a graph of objects in memory in the application startup so we can use it as metadata service layer and find all relation and properties of these objects.
Do you have any recommendation or related design pattern about this design decision?
Aucun commentaire:
Enregistrer un commentaire