org.netbeans.api.debugger
Class LazyActionsManagerListener
java.lang.Object
org.netbeans.api.debugger.ActionsManagerAdapter
org.netbeans.api.debugger.LazyActionsManagerListener
- All Implemented Interfaces:
- EventListener, ActionsManagerListener
public abstract class LazyActionsManagerListener
- extends ActionsManagerAdapter
This ActionsManagerListener
modification is designed to be
registered in "META-INF/debugger/"
, or preferably via the
LazyActionsManagerListener.Registration
annotation.
LazyActionsManagerListener should be registered for some concrete
DebuggerEngine
- use "<DebuggerEngine-id>"
as a path of the
annotation, or create
"META-INF/debugger/<DebuggerEngine-id>/LazyActionsManagerListener"
file.
For global ActionsManager
(do not use the path parameter, or use
"META-INF/debugger/LazyActionsManagerListener"
file.
New instance of LazyActionsManagerListener implementation is loaded
when the new instance of ActionsManager
is created, and its registered
automatically to all properties returned by getProperties()
.
Method Summary |
protected abstract void |
destroy()
This method is called when engine dies. |
abstract String[] |
getProperties()
Returns list of properties this listener is listening on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyActionsManagerListener
public LazyActionsManagerListener()
destroy
protected abstract void destroy()
- This method is called when engine dies.
getProperties
public abstract String[] getProperties()
- Returns list of properties this listener is listening on.
- Returns:
- list of properties this listener is listening on