1 19 20 package org.netbeans.modules.debugger.jpda; 21 22 import org.netbeans.api.debugger.DebuggerEngine; 23 import org.netbeans.api.debugger.jpda.JPDADebugger; 24 import org.netbeans.spi.debugger.DebuggerEngineProvider; 25 26 27 31 public class JSR45DebuggerEngineProvider extends DebuggerEngineProvider { 32 33 private String language; 34 private DebuggerEngine.Destructor desctuctor; 35 36 JSR45DebuggerEngineProvider (String language) { 37 this.language = language; 38 } 39 40 public String [] getLanguages () { 41 return new String [] {language}; 42 } 43 44 public String getEngineTypeID () { 45 return JPDADebugger.SESSION_ID + "/" + language; 46 } 47 48 public Object [] getServices () { 49 return new Object [0]; 50 } 51 52 public void setDestructor (DebuggerEngine.Destructor desctuctor) { 53 this.desctuctor = desctuctor; 54 } 55 56 public DebuggerEngine.Destructor getDesctuctor() { 57 return desctuctor; 58 } 59 } 60 61 | Popular Tags |