Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.rt
Class SessionHolder

java.lang.Object
  extended byoracle.panama.rt.SessionHolder

All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, java.io.Serializable

public class SessionHolder
extends java.lang.Object
implements java.io.Serializable, javax.servlet.http.HttpSessionBindingListener

A serializable holder of the runtime session that can be placed in the HttpSession of the OC4J containers performing session replication.

See Also:
Serialized Form

Field Summary
static java.lang.String PANAMA_SESSION_REPLICATION
java.lang.String sessionId

Constructor Summary
SessionHolder()

Method Summary
Session getSession(javax.servlet.http.HttpSession httpSession)
java.lang.String getSessionId()
void setSessionId(java.lang.String sessionId)
void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

PANAMA_SESSION_REPLICATION

public static final java.lang.String PANAMA_SESSION_REPLICATION
See Also:
Constant Field Values

sessionId

public java.lang.String sessionId

Constructor Detail

SessionHolder

public SessionHolder()

Method Detail

getSession

public Session getSession(javax.servlet.http.HttpSession httpSession)

getSessionId

public java.lang.String getSessionId()

setSessionId

public void setSessionId(java.lang.String sessionId)

valueBound

public final void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public final void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.