|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SalApplicationSession
Represents application instances. The SalApplicationSession interface acts as a store for application data and provides access to contained protocol sessions, e.g. SalSession representing point-to-point signaling relationships.
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)Returns the object bound with the specified name in this session, or null if no object is bound under the name. |
java.lang.String |
getId()Returns the id of this SAL application session. |
java.util.Iterator<SalSession> |
getSessions()Returns an Iterator over all valid SAL session objects. |
ApplicationTimer |
getTimer(java.lang.String id)Returns the active timer identified by a specific id that is associated with this application session. |
java.util.Collection<ApplicationTimer> |
getTimers()Returns all active timers associated with this application session. |
void |
invalidate()Invalidates this application session and unbinds any objects bound to it. |
boolean |
isValid()Returns if this SalApplicationSession is valid, false otherwise. |
void |
removeAttribute(java.lang.String name)Removes the object bound with the specified name from this session. |
void |
setAttribute(java.lang.String name, java.lang.Object attribute)Binds an object to this session, using the name specified. |
| Method Detail |
|---|
void invalidate()
boolean isValid()
java.util.Iterator<SalSession> getSessions()
java.lang.String getId()
java.lang.Object getAttribute(java.lang.String name)
name - a string specifying the name of the object
void setAttribute(java.lang.String name,
java.lang.Object attribute)
name - the name to which the object is bound, cannot be nullattribute - the object to be bound, cannot be nullvoid removeAttribute(java.lang.String name)
name - the name of the object to remove from this sessionjava.util.Collection<ApplicationTimer> getTimers()
java.lang.IllegalStateException - - if this application session is not validApplicationTimer getTimer(java.lang.String id)
java.lang.IllegalStateException - - if this application session is not valid
|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||