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.
私はSpring xmlファイルをたくさん持っており、Springスコープ全体で各Beanに一意のID(または名前は関係ありません)が必要です。Cal Bean の ID/名前が一意でない場合、Spring に例外をスローするように指示しますか?
おそらく、Beanfactory の独自のサブクラスを実装して、登録時に Bean が存在しないことを確認し、親コンテキストも参照する可能性があります。良い方法は registerBean でしょうか?
there my XMl file :
<?xml version="1.0" encoding="utf-8" ?> <XnaContent> <Asset Type="XnaCzyMap.Element[]"> <Element> <id>5</id> <pos_x&