|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.fe.statemachine.base.RequestContext
Constructor Summary | |
RequestContext()
Creates new RequestContext |
Method Summary | |
void |
addStateMachineProcessingListener(java.util.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. |
java.lang.String |
getExceptionDescription()
Getter for property exceptionDescription. |
java.util.Properties |
getProperties()
Returns the properties for the current request. |
IRequest |
getRequest()
Returns the IRequest for the current request. |
java.lang.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(java.util.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(java.lang.String exceptionDescription)
Setter for property exceptionDescription. |
void |
setProperties(java.util.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 java.util.Properties getProperties()
public IRequest getRequest()
public IResponse getResponse()
public IUserSession getUserSession()
public IUserSessionManager getUserSessionManager()
public void setApplicationManager(IApplicationManager applicationManager)
applicationManager
- public void setProperties(java.util.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 java.lang.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 java.lang.String getExceptionDescription()
getException
public void setExceptionDescription(java.lang.String exceptionDescription)
exceptionDescription
- New value of property exceptionDescription.public void addStateMachineProcessingListener(StateMachineProcessingListener listener)
public void removeStateMachineProcessingListener(StateMachineProcessingListener listener)
public void addStateMachineProcessingListener(java.util.Collection listeners)
public void removeStateMachineProcessingListener(java.util.Collection listeners)
public void fireStateMachineProcessingEvent(StateMachineProcessingEvent event)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |