null
if the class
+ * name should be retrieved automatically from the URL and line number.
+ * @since 2.8
+ */
+ public void setPreferedClassName(String className) {
+ String old;
+ synchronized (this) {
+ if (this.className == className || (className != null && className.equals(this.className))) {
+ return ;
+ }
+ old = className;
+ this.className = className;
+ }
+ firePropertyChange (PROP_PREFERED_CLASS_NAME, old, className);
+ }
+
+ /**
+ * Gets the binary class name that is used to submit the breakpoint.
+ * @return The binary class name, if previously set by {@link setPreferedClassName}
+ * method, or null
if the class name should be retrieved
+ * automatically from the URL and line number.
+ * @since 2.8
+ */
+ public String getPreferedClassName() {
+ return className;
}
/**
Index: api/manifest.mf
===================================================================
RCS file: /cvs/debuggerjpda/api/manifest.mf,v
retrieving revision 1.18
diff -u -r1.18 manifest.mf
--- api/manifest.mf 21 Jul 2006 10:14:31 -0000 1.18
+++ api/manifest.mf 22 Aug 2006 15:17:41 -0000
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
OpenIDE-Module: org.netbeans.api.debugger.jpda/2
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
-OpenIDE-Module-Specification-Version: 2.7
+OpenIDE-Module-Specification-Version: 2.8
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
Index: api/apichanges.xml
===================================================================
RCS file: /cvs/debuggerjpda/api/apichanges.xml,v
retrieving revision 1.15
diff -u -r1.15 apichanges.xml
--- api/apichanges.xml 21 Jul 2006 10:14:31 -0000 1.15
+++ api/apichanges.xml 22 Aug 2006 15:17:41 -0000
@@ -406,6 +406,22 @@
+ In order to be able to provide the class name for which the + breakpoint should be submitted. This is necessary for JSP. +
+