org.apache.webbeans.web.failover
Class FailOverBag
java.lang.Object
org.apache.webbeans.web.failover.FailOverBag
- All Implemented Interfaces:
- Externalizable, Serializable
public class FailOverBag
- extends Object
- implements Serializable, Externalizable
Bag which holds all required informations for the fail over.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESSION_ATTRIBUTE_NAME
public static final String SESSION_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
FailOverBag
public FailOverBag()
- Used by serialization.
FailOverBag
public FailOverBag(String sessionId,
String jvmId)
put
public void put(String name,
Object item)
get
public Object get(String name)
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
isSessionInUse
public boolean isSessionInUse()
setSessionInUse
public void setSessionInUse(boolean sessionInUse)
getSessionId
public String getSessionId()
setSessionId
public void setSessionId(String sessionId)
getJvmId
public String getJvmId()
setJvmId
public void setJvmId(String jvmId)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.