public interface Sessions
Modifier and Type | Method and Description |
---|---|
Object |
doAction(String applicationSessionId,
WlssAction action)
Deprecated.
com.bea.wcp.sip.WlssSipSessionsUtil.doAction(String applicationSessionId, WlssAction action) should be used instead
|
boolean |
hasLock(String applicationSessionId)
Deprecated.
com.bea.wcp.sip.WlssSipSessionsUtil.hasLock(String applicationSessionId) should be used instead
|
Object doAction(String applicationSessionId, WlssAction action) throws Exception
applicationSessionId
.
When this API is used by the applications, the container guarentees that
the business logic contained within the WlssAction will be executed with a
lock on the SipApplicationSession instance corresponding to the
applicationSessionId.applicationSessionId
- id of the SipApplicationSession that needs to
be updated in a transactional manneraction
- WlssAction which is passed by the applicationIllegalArgumentException
- if applicationSessionId or action parameters were null
or if callId could not be extracted from the applicationSessionIdException
WlssSipSessionsUtil.doAction(String, com.bea.wcp.sip.WlssAction)
boolean hasLock(String applicationSessionId)
applicationSessionId
- the SipApplicationSession's idSipApplicationSession.getId()