|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.bsf.debug.util.Stub | +--org.apache.bsf.debug.meta.DebugManagerStub
Field Summary | |
---|---|
protected java.util.Vector |
fEngines
|
Fields inherited from class org.apache.bsf.debug.util.Stub |
---|
m_con, m_revoked, m_tid, m_uid, NOT_FOUND, UNDEFINED |
Constructor Summary | |
---|---|
DebugManagerStub(SocketConnection con)
|
Method Summary | |
---|---|
void |
disconnectNotify(java.lang.Exception ex)
A communication error occured, simply disconnect and therefore clean everything up. |
java.lang.String |
getLangFromFilename(java.lang.String fileName)
Determine the language of a script file by looking at the file extension. |
boolean |
isLanguageRegistered(java.lang.String lang)
Determine whether a language is registered. |
void |
placeBreakpointAtLine(int bpid,
java.lang.String docname,
int lineno)
Breakpoints are placed within documents either at a specific line or offset. |
void |
placeBreakpointAtOffset(int bpid,
java.lang.String docname,
int offset)
|
void |
registerDebugger(java.lang.String lang,
BSFDebugger debugger)
Register a debugger for a scripting engine. |
void |
removeBreakpoint(java.lang.String docname,
int bpid)
Allows to remove a breakpoint. |
void |
sendQuitNotice()
|
void |
setEntryExit(java.lang.String docname,
boolean on)
Allows setting entry/exit mode |
boolean |
supportBreakpointAtLine(java.lang.String lang)
|
boolean |
supportBreakpointAtOffset(java.lang.String lang)
Allows a debugger to ask if the engine for a given language will support either line or offset breakpoints. |
void |
unregisterDebugger(java.lang.String lang)
|
Methods inherited from class org.apache.bsf.debug.util.Stub |
---|
addListener, completeFuture, createFuture, equals, getConnection, getTid, getUid, Init, removeListener, revoked, revokeFuture, suspendFuture, swizzle |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector fEngines
Constructor Detail |
public DebugManagerStub(SocketConnection con) throws java.io.IOException
Method Detail |
public void disconnectNotify(java.lang.Exception ex)
public void sendQuitNotice() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String getLangFromFilename(java.lang.String fileName) throws java.rmi.RemoteException
getLangFromFilename
in interface BSFDebugManager
java.rmi.RemoteException
- if file's extension is unknown.public boolean isLanguageRegistered(java.lang.String lang) throws java.rmi.RemoteException
isLanguageRegistered
in interface BSFDebugManager
lang
- string identifying a language
java.rmi.RemoteException
public void placeBreakpointAtLine(int bpid, java.lang.String docname, int lineno) throws java.rmi.RemoteException
placeBreakpointAtLine
in interface BSFDebugManager
java.rmi.RemoteException
public void placeBreakpointAtOffset(int bpid, java.lang.String docname, int offset) throws java.rmi.RemoteException
placeBreakpointAtOffset
in interface BSFDebugManager
java.rmi.RemoteException
public void removeBreakpoint(java.lang.String docname, int bpid) throws java.rmi.RemoteException
removeBreakpoint
in interface BSFDebugManager
java.rmi.RemoteException
public void setEntryExit(java.lang.String docname, boolean on) throws java.rmi.RemoteException
setEntryExit
in interface BSFDebugManager
java.rmi.RemoteException
public boolean supportBreakpointAtOffset(java.lang.String lang) throws java.rmi.RemoteException
supportBreakpointAtOffset
in interface BSFDebugManager
java.rmi.RemoteException
public boolean supportBreakpointAtLine(java.lang.String lang) throws java.rmi.RemoteException
supportBreakpointAtLine
in interface BSFDebugManager
java.rmi.RemoteException
public void registerDebugger(java.lang.String lang, BSFDebugger debugger) throws java.rmi.RemoteException
registerDebugger
in interface BSFDebugManager
lang
- string identifying language
java.rmi.RemoteException
- if the language is unknown (i.e., if it
has not been registered) with a reason of
REASON_UNKNOWN_LANGUAGE. If the language is known but
if the interface can't be created for some reason, then
the reason is set to REASON_OTHER_ERROR and the actual
exception is passed on as well.public void unregisterDebugger(java.lang.String lang) throws java.rmi.RemoteException
unregisterDebugger
in interface BSFDebugManager
java.rmi.RemoteException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |