[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 801- 901- 1001- 2chのread.cgiへ]
Update time : 10/09 00:43 / Filesize : 228 KB / Number-of Response : 1002
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

【Java】次世代Java・J2SE1.6の動向【Mustang】



929 名前:デフォルトの名無しさん [2006/03/23(木) 22:58:16 ]
これが凄く気になった。
インストゥルメントというパッケージ。
まるで楽器演奏のみの歌詞がない曲ややMIDIのインストゥルメントを想像してしまう。

クラスローダにJARファイルを動的に読み込ませることができるということだな?
っていうかクラスパスをRuntimeクラスを使って通さなくて済むって言うだけか?
Spring frameworkにも似たようなものがなかったっけか?

java.lang.instrument

java.lang.instrument: Ability to add .jar files to a classpath

When a tool, such as a profiler or management console, attaches to a running VM,
the tool will typically need to load its tool agent into the VM. If the agent is written
in the Java Language, then the .jar file that contains the agent classes must be added
to the system classpath at runtime. Furthermore, if the agent does bytecode instrumentation
(for example, if the tool does profiling or tracing), then it will need to add supporting instrumentation
classes onto the boot classpath and maybe also the system classpath.

This change adds two new methods to add .jar files to classpaths:

* java.lang.instrument.Instrumentation.appendToBootstrapClassLoaderSearch(JarFile jarfile)
* java.lang.instrument.Instrumentation.appendToSystemClassLoaderSearch(JarFile jarfile)

This change also adds a new error class to java.lang.instrument:






[ 続きを読む ] / [ 携帯版 ]

全部読む 前100 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<228KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef