org.ops4j.pax.wicket.util.serialization
Class PaxWicketSerializer

java.lang.Object
  extended by org.apache.wicket.serialize.java.JavaSerializer
      extended by org.ops4j.pax.wicket.util.serialization.PaxWicketSerializer
All Implemented Interfaces:
org.apache.wicket.serialize.ISerializer

public class PaxWicketSerializer
extends org.apache.wicket.serialize.java.JavaSerializer

A simple wrapper for the original wicket serializer making it possible to serialize class which inject osgi bundle based classes.


Constructor Summary
PaxWicketSerializer(String applicationKey)
           
 
Method Summary
protected  ObjectInputStream newObjectInputStream(InputStream in)
           
protected  ObjectOutputStream newObjectOutputStream(OutputStream out)
           
 
Methods inherited from class org.apache.wicket.serialize.java.JavaSerializer
deserialize, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaxWicketSerializer

public PaxWicketSerializer(String applicationKey)
Method Detail

newObjectInputStream

protected ObjectInputStream newObjectInputStream(InputStream in)
                                          throws IOException
Overrides:
newObjectInputStream in class org.apache.wicket.serialize.java.JavaSerializer
Throws:
IOException

newObjectOutputStream

protected ObjectOutputStream newObjectOutputStream(OutputStream out)
                                            throws IOException
Overrides:
newObjectOutputStream in class org.apache.wicket.serialize.java.JavaSerializer
Throws:
IOException


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.