com.sun.ejb.containers
Class TimerWrapper.SerializedTimerWrapper

java.lang.Object
  extended by com.sun.ejb.containers.TimerWrapper.SerializedTimerWrapper
All Implemented Interfaces:
SerializableObjectFactory, java.io.Serializable
Enclosing class:
TimerWrapper

public static class TimerWrapper.SerializedTimerWrapper
extends java.lang.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
 java.lang.Object createObject()
          When deserializing the timer wrapper create a TimerWrapper object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createObject

public java.lang.Object createObject()
                              throws 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 SerializableObjectFactory
Throws:
EJBException


Copyright © 2012 GlassFish Community. All Rights Reserved.