Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は使用する必要がある静的速度テンプレートを持っているので、代わりにそれを自動配線することが可能かどうか疑問に思っていました:
Template template = velocityEngine.getTemplate("com/templates/template.vm");
ありがとう
その結果として速度テンプレートを生成する FactoryBean を作成すると、ApplicationContext はそれを必要とする任意の Bean に自動配線できます。必要であればサンプルを送ります。