org.apache.webbeans.web.failover
Class FailOverBagWrapper
java.lang.Object
org.apache.webbeans.web.failover.FailOverBagWrapper
- All Implemented Interfaces:
- Externalizable, Serializable, EventListener, javax.servlet.http.HttpSessionActivationListener
public class FailOverBagWrapper
- extends Object
- implements Serializable, Externalizable, javax.servlet.http.HttpSessionActivationListener
Use javassist Proxy streams to serialize and restore failover bean bag.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final WebBeansLogger logger
- Logger instance
bag
protected FailOverBag bag
sessionId
protected String sessionId
isSessionInUse
protected boolean isSessionInUse
FailOverBagWrapper
public FailOverBagWrapper()
FailOverBagWrapper
public FailOverBagWrapper(javax.servlet.http.HttpSession session,
FailOverService service)
updateOwbFailOverBag
public void updateOwbFailOverBag(javax.servlet.http.HttpSession session,
FailOverService service)
restore
public void restore()
sessionIsInUse
public void sessionIsInUse()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
sessionWillPassivate
public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
- Specified by:
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListener
sessionDidActivate
public void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
- Specified by:
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListener
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.