| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.fe.statemachine.base.RequestContext
public class RequestContext
| Constructor Summary | |
|---|---|
| RequestContext()Creates new RequestContext | |
| Method Summary | |
|---|---|
|  void | addStateMachineProcessingListener(Collection listeners) | 
|  void | addStateMachineProcessingListener(StateMachineProcessingListener listener) | 
|  void | fireStateMachineProcessingEvent(StateMachineProcessingEvent event) | 
|  IApplicationManager | getApplicationManager()Returns the ApplicationManager for the current request. | 
|  StateMachineException | getException()Getter for property exception. | 
|  String | getExceptionDescription()Getter for property exceptionDescription. | 
|  Properties | getProperties()Returns the properties for the current request. | 
|  IRequest | getRequest()Returns the IRequest for the current request. | 
|  String | getRequestStateId()Returns the stateId that should be considered the source of this request. | 
|  IResponse | getResponse()Returns the IResponse for the current request. | 
|  IUserSession | getUserSession()Returns the UserSession for the current request. | 
|  IUserSessionManager | getUserSessionManager()Returns the UserSessionManager for the current request. | 
|  void | removeStateMachineProcessingListener(Collection listeners) | 
|  void | removeStateMachineProcessingListener(StateMachineProcessingListener listener) | 
|  void | setApplicationManager(IApplicationManager applicationManager)Sets the ApplicationManager for the current request. | 
|  void | setException(StateMachineException exception)Setter for property exception. | 
|  void | setExceptionDescription(String exceptionDescription)Setter for property exceptionDescription. | 
|  void | setProperties(Properties properties)Sets the Properties for the current request. | 
|  void | setRequest(IRequest request)Sets the IRequest for the current request. | 
|  void | setResponse(IResponse response)Sets the IResponse for the current request. | 
|  void | setUserSession(IUserSession userSession)Sets the UserSession for the current request. | 
|  void | setUserSessionManager(IUserSessionManager userSessionManager)Sets the UserSessionManager for the current request. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RequestContext()
| Method Detail | 
|---|
public IApplicationManager getApplicationManager()
public Properties getProperties()
public IRequest getRequest()
public IResponse getResponse()
public IUserSession getUserSession()
public IUserSessionManager getUserSessionManager()
public void setApplicationManager(IApplicationManager applicationManager)
applicationManager - public void setProperties(Properties properties)
properties - public void setRequest(IRequest request)
request - public void setResponse(IResponse response)
response - public void setUserSession(IUserSession userSession)
userSession - public void setUserSessionManager(IUserSessionManager userSessionManager)
userSessionManager - public String getRequestStateId()
 The decision on whether to use the request or user session is made by
 the property 'com.bankframe.fe.statemachine.base.StateIdSource'.  This can have one
 of four values:
 
 
public StateMachineException getException()
Not the difference between this and getExceptionDescription: It is possible to reach an exception condition without catching a StateMachineException. This property will be filled only if an exception is caught. The exceptionDescription property may be filled without an exception being caught.
public void setException(StateMachineException exception)
exception - New value of property exception.public String getExceptionDescription()
getExceptionpublic void setExceptionDescription(String exceptionDescription)
exceptionDescription - New value of property exceptionDescription.public void addStateMachineProcessingListener(StateMachineProcessingListener listener)
public void removeStateMachineProcessingListener(StateMachineProcessingListener listener)
public void addStateMachineProcessingListener(Collection listeners)
public void removeStateMachineProcessingListener(Collection listeners)
public void fireStateMachineProcessingEvent(StateMachineProcessingEvent event)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||