- 既知のすべてのサブインタフェース:
AccessWatchpointEvent,AccessWatchpointRequest,ArrayReference,ArrayType,BooleanType,BooleanValue,BreakpointEvent,BreakpointRequest,ByteType,ByteValue,CharType,CharValue,ClassLoaderReference,ClassObjectReference,ClassPrepareEvent,ClassPrepareRequest,ClassType,ClassUnloadEvent,ClassUnloadRequest,DoubleType,DoubleValue,Event,EventQueue,EventRequest,EventRequestManager,EventSet,ExceptionEvent,ExceptionRequest,Field,FloatType,FloatValue,IntegerType,IntegerValue,InterfaceType,LocalVariable,LocatableEvent,Location,LongType,LongValue,Method,MethodEntryEvent,MethodEntryRequest,MethodExitEvent,MethodExitRequest,ModificationWatchpointEvent,ModificationWatchpointRequest,ModuleReference,MonitorContendedEnteredEvent,MonitorContendedEnteredRequest,MonitorContendedEnterEvent,MonitorContendedEnterRequest,MonitorInfo,MonitorWaitedEvent,MonitorWaitedRequest,MonitorWaitEvent,MonitorWaitRequest,ObjectReference,PathSearchingVirtualMachine,PrimitiveType,PrimitiveValue,ReferenceType,ShortType,ShortValue,StackFrame,StepEvent,StepRequest,StringReference,ThreadDeathEvent,ThreadDeathRequest,ThreadGroupReference,ThreadReference,ThreadStartEvent,ThreadStartRequest,Type,TypeComponent,Value,VirtualMachine,VMDeathEvent,VMDeathRequest,VMDisconnectEvent,VMStartEvent,VoidType,VoidValue,WatchpointEvent,WatchpointRequest
public interface Mirror
別の仮想マシン内のエンティティを検査または操作するためにデバッガが使用するプロキシです。 Mirrorは、このパッケージのインタフェース階層のルートです。 ミラーは、ターゲットVM内のオブジェクト(
ObjectReference)、プリミティブ値(IntegerValueなど)、型(ReferenceTypeなど)、動的なアプリケーション状態(StackFrameなど)、およびデバッガ固有の構造(BreakpointRequestなど)を対象とするプロキシとして機能します。 VirtualMachine自体もターゲットVMの複合状態を表現するミラーと見なされます。
ターゲットVM内の特定のエンティティが、Mirrorの単一インスタンスにマップするという保証はありません。 いくつかのまたはすべてのミラーに対して単一のミラーを使用するかどうかを、実装元は自由に決定できます。 このインタフェースのクライアントは、常にequalsを使って2つのミラーを比較して、等しいかどうかを調べる必要があります。
List内の要素として使う場合など、Mirrorを直接的または間接的にパラメータとして取るMirrorの任意のメソッドは、別の仮想マシンによって作成されたミラーが存在する場合にVMMismatchExceptionをスローします。
- 導入されたバージョン:
- 1.3
- 関連項目:
-
メソッドのサマリー
-
メソッドの詳細
-
virtualMachine
VirtualMachine virtualMachine()このミラーが属するVirtualMachineを取得します。 ミラーがなんらかの意味を持つためには、VirtualMachineと関連している必要があります。- 戻り値:
- このミラーがプロキシとして機能する
VirtualMachine。
-
toString
String toString()このミラーについて説明する文字列を返します。
-