Package org.eclipse.jdt.debug.core
Interface IJavaHotCodeReplaceListener
public interface IJavaHotCodeReplaceListener
Notification of hot code replace failure and success. As resources are
modified in the workspace, targets that support hot code replace are updated
with new class files.
Clients may implement this interface
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
hotCodeReplaceFailed
(IJavaDebugTarget target, org.eclipse.debug.core.DebugException exception) Notification that a hot code replace attempt failed in the given target.void
Notification that a hot code replace attempt succeeded in the given target.void
obsoleteMethods
(IJavaDebugTarget target) Notification that obsolete methods remain on the stack in one or more threads in the given target after a hot code replace.
-
Method Details
-
hotCodeReplaceFailed
Notification that a hot code replace attempt failed in the given target.- Parameters:
target
- the target in which the hot code replace failedexception
- the exception generated by the hot code replace failure, ornull
if the hot code replace failed because the target VM does not support hot code replace
-
hotCodeReplaceSucceeded
Notification that a hot code replace attempt succeeded in the given target.- Parameters:
target
- the target in which the hot code replace succeeded
-
obsoleteMethods
Notification that obsolete methods remain on the stack in one or more threads in the given target after a hot code replace.- Parameters:
target
- the target in which obsolete methods remain after a hot code replace
-