|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.openscience.nmrshiftdb.util.VectorWithSessionBinding
public class VectorWithSessionBinding
This is a vector which writes itself to the db when unbound from session
| Field Summary | |
|---|---|
private java.lang.String |
username
|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
VectorWithSessionBinding(java.lang.String username)
Constructor for the VectorWithSessionBinding object |
|
| Method Summary | |
|---|---|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Takes care of session tracking |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
This writes this object serialized with jsx to a field in the TURBINE_USER table which has the name under which this object is bound to the session |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
private java.lang.String username
| Constructor Detail |
|---|
public VectorWithSessionBinding(java.lang.String username)
username - It might be the user is already unbound from session when this object is unbound, so we remember the user.| Method Detail |
|---|
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListenerevent - HttpSessionBindingEventpublic void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerevent - HttpSessionBindingEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||