|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Profiler
Profiler has to implement this interface and register it in the default Lookup.
Method Summary | |
---|---|
boolean |
attachProfiler(Map projectProperties)
This method is used from the nbstartprofiledserver
task to connect the Profiler to a server ready for profiling. |
ProfilerServerSettings |
getSettings(String serverInstanceID)
This method is used from the Runtime tab to obtain settings for starting the server. |
int |
getState()
Returns state of Profiler agent instance started from the IDE. |
void |
notifyStarting()
Inform the profiler that some server is starting in the profile mode. |
javax.enterprise.deploy.spi.status.ProgressObject |
shutdown()
Stops execution of the application (its JVM) currently being profiled. |
Method Detail |
---|
void notifyStarting()
boolean attachProfiler(Map projectProperties)
nbstartprofiledserver
task to connect the Profiler to a server ready for profiling.
projectProperties
- properties of project the nbstartprofiledserver
ant task was started from.
true
if the Profiler successfully attached to the server.ProfilerServerSettings getSettings(String serverInstanceID)
serverInstanceID
- ID of the server instance that is going to be started
null
if user cancelled starting
the server.int getState()
javax.enterprise.deploy.spi.status.ProgressObject shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |