Profiler has to implement this interface and register it in the default Lookup.
author: sherold
Method Summary
boolean
attachProfiler(Map projectProperties) This method is used from the nbstartprofiledserver
task to connect the Profiler to a server ready for profiling.
Parameters: projectProperties - properties of project the nbstartprofiledserverant task was started from.
This method is used from the nbstartprofiledserver
task to connect the Profiler to a server ready for profiling.
Parameters: projectProperties - properties of project the nbstartprofiledserverant task was started from. true if the Profiler successfully attached to the server.
This method is used from the Runtime tab to obtain settings for starting
the server. It displays dialog and let the user choose required mode
(direct/dynamic attach) and other settings for the server startup.
Parameters: serverInstanceID - ID of the server instance that is going to be started required settings or null if user cancelled starting the server.
Returns state of Profiler agent instance started from the IDE. It detects
possible response from an unknown (not started from the IDE) Profiler
agent, in this case it returns STATE_INACTIVE.
state of Profiler agent instance.
Stops execution of the application (its JVM) currently being profiled.
Shutdown is performed by the Profiler agent when in STATE_BLOCKED, STATE_RUNNING
or STATE_PROFILING state.
object used to monitor progress of shutdown.