Package com.sun.ejb.containers
Class TimerWrapper.SerializedTimerWrapper
- java.lang.Object
-
- com.sun.ejb.containers.TimerWrapper.SerializedTimerWrapper
-
- All Implemented Interfaces:
com.sun.enterprise.container.common.spi.util.SerializableObjectFactory,Serializable
- Enclosing class:
- TimerWrapper
public static class TimerWrapper.SerializedTimerWrapper extends Object implements com.sun.enterprise.container.common.spi.util.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 ObjectcreateObject()When deserializing the timer wrapper create a TimerWrapper object.
-
-
-
Method Detail
-
createObject
public Object createObject() 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:
createObjectin interfacecom.sun.enterprise.container.common.spi.util.SerializableObjectFactory- Throws:
jakarta.ejb.EJBException
-
-