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.
Java Bean のすべてのフィールドを構成可能にするために、実行時に XML 構成の読み取りから基本的な Java クラスまでのフィールドとメソッドを動的に作成したいと考えています。これを行う方法はありますか?簡単なサンプルがあればここで提供できますか?
前もって感謝します。
Java は実行時に動的に言語化されません。
ただし、ASM フレームワーク ( http://asm.ow2.org/ )を使用できます。