Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


oracle.wcps.conductor.services
Interface IDebugService<D>

All Known Subinterfaces:
IScenarioDebugService

public interface IDebugService<D>

Service for managing debug sessions.

Debug sessions are stored in-memory only and are stored in a expirable cache. It is best practice to call deleteDebugSession() once the session is completed.


Method Summary
 <any> createDebugSession(ClientContext clientContext)
          Create a debug session for debugging a scenario.
 void deleteDebugSession(ClientContext clientContext, java.lang.String sessionId)
          Removes the debug session from the server.
 <any> getDebugSession(ClientContext clientContext, java.lang.String sessionId)
          Retrieves a debug session
 java.util.List<<any>> getDebugSessions(ClientContext clientContext)
          Returns a paginated list of sessions currently on the server.

 

Method Detail

createDebugSession

<any> createDebugSession(ClientContext clientContext)
                         throws ConductorException
Create a debug session for debugging a scenario.
Parameters:
clientContext - The client context to use for namespace, localization, etc.
debugDocument - The object being debugged.
Returns:
A new debug session for debugging.
Throws:
ConductorException

getDebugSessions

java.util.List<<any>> getDebugSessions(ClientContext clientContext)
                                       throws ConductorException
Returns a paginated list of sessions currently on the server.
Parameters:
clientContext - The client context to use for namespace, localization, etc.
Returns:
A paginated list of existing debug sessions .
Throws:
ConductorException

getDebugSession

<any> getDebugSession(ClientContext clientContext,
                      java.lang.String sessionId)
                      throws ConductorException
Retrieves a debug session
Parameters:
clientContext -
sessionId -
Returns:
Throws:
DebugSessionNotFoundException - if the debug session does not exist.
ConductorException

deleteDebugSession

void deleteDebugSession(ClientContext clientContext,
                        java.lang.String sessionId)
                        throws ConductorException
Removes the debug session from the server.
Parameters:
clientContext - The client context to use for namespace, localization, etc.
sessionId - The debug session id.
Throws:
DebugSessionNotFoundException - if the debug session does not exist.
ConductorException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.