Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtensionLoader对Extension执行注入时,支持从ObjectFactory获取要注入的对象 #52

Open
oldratlee opened this issue Feb 18, 2013 · 0 comments
Assignees
Labels

Comments

@oldratlee
Copy link
Member

ObjectFactory可以是Spring,或是其它的对象容器。

问题点

不同的ObjectFactory实现,本身应该是Extension。从getExtension时要从ObjectFactory(Extension)中获取对象。这里有递归/自举,注意要小心处理。

getExtension时,要从哪些ObjectFactory获取对象,这个信息从哪里来?

  • getExtension的方法参数上传入ObjectFactory List
  • 在getExtensionLoader时,传入ObjectFactory List
@ghost ghost assigned oldratlee Feb 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant