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:
  • Method Details

    • 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:
      createObject in interface com.sun.enterprise.container.common.spi.util.SerializableObjectFactory
      Throws:
      jakarta.ejb.EJBException