fr.dyade.aaa.jndi2.ha
Class HARequestManager
java.lang.Object
fr.dyade.aaa.jndi2.ha.HARequestManager
- All Implemented Interfaces:
- BagSerializer, LifeCycleListener, java.io.Serializable
public class HARequestManager
- extends java.lang.Object
- implements LifeCycleListener, BagSerializer, java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
void |
agentFinalize(boolean lastTime)
|
void |
agentInitialize(boolean firstTime)
|
void |
readBag(java.io.ObjectInputStream in)
The readBag method is responsible for reading from the stream and
restoring the agent's transient state. |
void |
setRequestManager(RequestManager manager)
|
void |
writeBag(java.io.ObjectOutputStream out)
The writeBag method is responsible for writing the extra data
of this particular agent so that the corresponding readBag method
can restore it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDEMPOTENT
public static final int IDEMPOTENT
- See Also:
- Constant Field Values
NOT_IDEMPOTENT
public static final int NOT_IDEMPOTENT
- See Also:
- Constant Field Values
HA_REQUEST_COUNTER
public static final java.lang.String HA_REQUEST_COUNTER
- See Also:
- Constant Field Values
HARequestManager
public HARequestManager()
setRequestManager
public void setRequestManager(RequestManager manager)
agentInitialize
public void agentInitialize(boolean firstTime)
throws java.lang.Exception
- Specified by:
agentInitialize
in interface LifeCycleListener
- Throws:
java.lang.Exception
agentFinalize
public void agentFinalize(boolean lastTime)
- Specified by:
agentFinalize
in interface LifeCycleListener
writeBag
public void writeBag(java.io.ObjectOutputStream out)
throws java.io.IOException
- Description copied from interface:
BagSerializer
- The writeBag method is responsible for writing the extra data
of this particular agent so that the corresponding readBag method
can restore it.
- Specified by:
writeBag
in interface BagSerializer
- Throws:
java.io.IOException
readBag
public void readBag(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Description copied from interface:
BagSerializer
- The readBag method is responsible for reading from the stream and
restoring the agent's transient state.
- Specified by:
readBag
in interface BagSerializer
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2011 ScalAgent D.T.. All Rights Reserved.