serialization

com.canoo.ulc.community.serialization
Class SerializableCheck

java.lang.Object
  extended bycom.canoo.ulc.community.serialization.SerializableCheck

public class SerializableCheck
extends Object

This class checks if the current ULC session is serializable in its current state. Serializing an ULC session might be a requirement in a Servlet or EJB container.

Author:
Etienne.Studer@canoo.com

Constructor Summary
SerializableCheck()
           
 
Method Summary
static void execute()
          This method tries to serialize the current ULC session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableCheck

public SerializableCheck()
Method Detail

execute

public static void execute()
                    throws IOException
This method tries to serialize the current ULC session. Serialization has been successful if this method returns without throwing an exception.

Throws:
IOException - is thrown when the current ULC session cannot be serialized

serialization

Contact Etienne Studer for feedback.