blob: 0c21e635403c8d97c32b458869626bad7c2202da [file] [log] [blame]
package org.eclipse.jdt.debug.core;
/**********************************************************************
Copyright (c) 2000, 2002 IBM Corp. and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Common Public License v0.5
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/cpl-v05.html
Contributors:
IBM Corporation - Initial implementation
**********************************************************************/
import org.eclipse.debug.core.DebugException;
/**
* Notification of hot code replace failure and success. As resources are
* modified in the workspace, targets that support hot code replace are
* udpated with new class files.
* <p>
* Clients may implement this interface
* </p>
* @since 2.0
*/
public interface IJavaHotCodeReplaceListener {
/**
* Notification that a hot code replace attempt failed in the given target.
*
* @param target the target in which the hot code replace failed
* @param exception the exception generated by the hot code replace
* failure, or <code>null</code> if the hot code replace failed because
* the target VM does not support hot code replace
*/
public void hotCodeReplaceFailed(IJavaDebugTarget target, DebugException exception);
/**
* Notification that a hot code replace attempt succeeded in the
* given target.
*
* @param target the target in which the hot code replace succeeded
*/
public void hotCodeReplaceSucceeded(IJavaDebugTarget target);
/**
* Notification that obsolete methods remain on the stack
* in one or more threads in the given target after a hot code
* replace.
*
* @param target the target in which obsolete methods remain after
* a hot code replace
*/
public void obsoleteMethods(IJavaDebugTarget target);
}