|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.util.BoundConnection
public class BoundConnection
Holder for Connection objects that are bound into the HTTP session. When the
bound object is unbound the connection will be stopped.
Use the Util class to find an
existing Connection that is bound to
the HTTP session, or to create a new Connection
Util,
BoundRocf| Constructor Summary | |
|---|---|
BoundConnection(com.sas.rmi.Connection connection)
Create a new BoundConnection object |
|
| Method Summary | |
|---|---|
com.sas.rmi.Connection |
getConnection()
Gets the current connection |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Called when this object is bound into a session. |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Called when this object is unbound from a session. |
| Constructor Detail |
|---|
public BoundConnection(com.sas.rmi.Connection connection)
connection - The connection| Method Detail |
|---|
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerevent - The eventpublic void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListenerevent - The eventpublic com.sas.rmi.Connection getConnection()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||