Package com.sun.ejb.containers
Class TimerWrapper.SerializedTimerWrapper
- java.lang.Object
-
- com.sun.ejb.containers.TimerWrapper.SerializedTimerWrapper
-
- All Implemented Interfaces:
SerializableObjectFactory
,Serializable
- Enclosing class:
- TimerWrapper
public static class TimerWrapper.SerializedTimerWrapper extends Object implements SerializableObjectFactory
Used by serialization code to serialize a TimerWrapper. We need a separate type that TimerHandle so that on deserialization we know it started as a TimerWrapper instead of a TimerHandle.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createObject(long appUniqueId)
When deserializing the timer wrapper create a TimerWrapper object.
-
-
-
Method Detail
-
createObject
public Object createObject(long appUniqueId) throws jakarta.ejb.EJBException
When deserializing the timer wrapper create a TimerWrapper object. Check if the record is valid only when making calls on the object.- Specified by:
createObject
in interfaceSerializableObjectFactory
- Parameters:
appUniqueId
-- Returns:
- Throws:
jakarta.ejb.EJBException
-
-