标签:
But in my experience I saw there are times when objects are created based on business logic. So, some object requires a certain object, with a certain interface. The tricky part is that the concrete object? type is determined at runtime in some business logic code.
[Note] Collaborator vs. the Factory
标签:
原文地址:http://www.cnblogs.com/xilifeng/p/4703541.html