public interface IdentityParticipantStack
Modifier and Type | Method and Description |
---|---|
void |
createSession(String id)
Create a session
|
boolean |
deRegisterTransitParticipant(String sessionID,
String participant)
Deregister a participant as in transit in a logout interaction
|
Boolean |
getBinding(String participant)
For a particular participant, indicate whether it supports POST or REDIRECT binding.
|
int |
getNumOfParticipantsInTransit(String sessionID)
Return the number of participants in transit
|
int |
getParticipants(String sessionID)
For a given identity session, return the number of participants
|
String |
peek(String sessionID)
Peek at the most recent participant in the session
|
String |
pop(String sessionID)
Remove the most recent participant in the session
|
void |
register(String sessionID,
String participant,
boolean postBinding)
Register a participant in a session
|
boolean |
registerTransitParticipant(String sessionID,
String participant)
Register a participant as in transit in a logout interaction
|
void |
removeSession(String id)
Remove a session
|
int |
totalSessions()
The total number of sessions active
|
String peek(String sessionID)
sessionID
- String pop(String sessionID)
sessionID
- void register(String sessionID, String participant, boolean postBinding)
sessionID
- participant
- int getParticipants(String sessionID)
sessionID
- boolean registerTransitParticipant(String sessionID, String participant)
sessionID
- participant
- boolean deRegisterTransitParticipant(String sessionID, String participant)
sessionID
- participant
- int getNumOfParticipantsInTransit(String sessionID)
sessionID
- Boolean getBinding(String participant)
For a particular participant, indicate whether it supports POST or REDIRECT binding.
NOTE: true: POST, false: REDIRECT, null: does not exist
participant
- int totalSessions()
void createSession(String id)
id
- void removeSession(String id)
id
- Copyright © 2016 JBoss by Red Hat. All rights reserved.