atg.scenario
Interface ScenarioExecutionContext

All Superinterfaces:
ComponentNameResolver, NameResolver

Deprecated. This interface has been deprecated in favour of atg.process.ProcessExecutionContext

public interface ScenarioExecutionContext
extends ComponentNameResolver

Represents the context in which a scenario segment is being executed. The information in the context can be used to evaluate Expressions, and to execute Actions.

This interface extends ComponentNameResolver, and can thus be used to resolve arbitrary Nucleus names, either as Strings or as ComponentNames. If the scenario segment is being executed in the context of an HTTP request, the NameResolver can be used to resolve request-scoped components; otherwise, it can only resolve global components.

See Also:
ProcessExecutionContext

Field Summary
static java.lang.String CLASS_VERSION
          Deprecated. Class version string
 
Method Summary
 java.lang.Object getMessage()
          Deprecated. Returns the JMS message bean which prompted the scenario segment execution to start or resume.
 java.lang.String getMessageType()
          Deprecated. Returns the JMS type of the message which prompted the scenario segment execution to start or resume.
 RepositoryItem getProfile()
          Deprecated. replaced by ProcessExecutionContext.getSubject().
 DynamoHttpServletRequest getRequest()
          Deprecated. Returns the current HTTP request, null if the scenario segment is not being executed in the context of an HTTP request.
 DynamoHttpServletResponse getResponse()
          Deprecated. Returns the current HTTP response, null if the scenario segment is not being executed in the context of an HTTP request.
 RepositoryItem getScenarioInstance()
          Deprecated. Returns the scenario instance going through the scenario segment.
 boolean isIndividual()
          Deprecated. Returns true if this context corresponds to an individual user going through the scenario segment, false if it corresponds to a "collective" scenario instance which operates on behalf of all individual users.
 
Methods inherited from interface atg.nucleus.naming.ComponentNameResolver
resolveName
 
Methods inherited from interface atg.naming.NameResolver
resolveName
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Deprecated. 
Class version string

See Also:
Constant Field Values
Method Detail

isIndividual

boolean isIndividual()
Deprecated. 
Returns true if this context corresponds to an individual user going through the scenario segment, false if it corresponds to a "collective" scenario instance which operates on behalf of all individual users.


getScenarioInstance

RepositoryItem getScenarioInstance()
Deprecated. 
Returns the scenario instance going through the scenario segment. If the segment is being executed in the context of an individual user (that is, if isIndividual is true), the scenario instance points to that user, and any context variables set during the segment execution; otherwise, this is a "collective" scenario instance which represents, and operates on behalf of, all individual users.


getProfile

RepositoryItem getProfile()
Deprecated. replaced by ProcessExecutionContext.getSubject().

Returns the profile of the user going through the scenario segment, null if the segment is not being executed in the context of an individual user.

See Also:
ProcessExecutionContext

getMessageType

java.lang.String getMessageType()
Deprecated. 
Returns the JMS type of the message which prompted the scenario segment execution to start or resume.


getMessage

java.lang.Object getMessage()
Deprecated. 
Returns the JMS message bean which prompted the scenario segment execution to start or resume. The message could represent an individual event, a global event, or a timer.


getRequest

DynamoHttpServletRequest getRequest()
Deprecated. 
Returns the current HTTP request, null if the scenario segment is not being executed in the context of an HTTP request.


getResponse

DynamoHttpServletResponse getResponse()
Deprecated. 
Returns the current HTTP response, null if the scenario segment is not being executed in the context of an HTTP request.