org.netbeans.spi.debugger
Interface ContextAwareService<T>
public interface ContextAwareService<T>
Instance of registry entry, that delegates to a debugger service, that can be
context-aware.
This instances should be registered in layers and created by ContextAwareSupport.createService
factory
method as follows:
<folder name="Debugger">
<file name="MyDebuggerService.instance">
<attr name="instanceCreate" methodvalue="org.netbeans.spi.debugger.ContextAwareSupport.createService"/>
<attr name="serviceName" stringvalue="org.netbeans.my_debugger.MyServiceImpl"/>
<attr name="serviceClass" stringvalue="org.netbeans.debugger.Service"/>
</file>
</folder>
- Since:
- 1.16
forContext
T forContext(ContextProvider context)
- Create a debugger service in a context.
- Parameters:
context
- the context to create the service with
- Returns:
- the debugger service of type
T
.