Jumpi v1.2.0

org.jumpi.impl.transformer.serialization
Class DeserializeTransformer

java.lang.Object
  |
  +--org.jumpi.impl.AbstractTransformer
        |
        +--org.jumpi.impl.transformer.serialization.DeserializeTransformer
All Implemented Interfaces:
Component, Configurable, Manageable, Transformer

public class DeserializeTransformer
extends AbstractTransformer

Standard Java Deserialization transformation from byte[] or FastByteArrayInputStream containing a serialized Object to an Object.


Field Summary
 
Fields inherited from class org.jumpi.impl.AbstractTransformer
exceptionOnMismatch_, jumpi_, name_, nextTransformer_, warnOnMismatch_
 
Constructor Summary
DeserializeTransformer()
           
 
Method Summary
 void transform(Envelope env)
          Deserialize an object.
 
Methods inherited from class org.jumpi.impl.AbstractTransformer
configure, doNextTransformation, getName, manage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeserializeTransformer

public DeserializeTransformer()
Method Detail

transform

public void transform(Envelope env)
               throws java.lang.Exception
Deserialize an object. A byte[] or FastByteArrayInputStream containing a serialized message from the Envelope's context stack and produce an Object. The Object is placed on the Envelope's context stack.

Specified by:
transform in interface Transformer
Specified by:
transform in class AbstractTransformer
Parameters:
env - the Envelope containing data to transform and the result.
Throws:
java.lang.Exception - if a failure condition occcurs.

Jumpi v1.2.0

Copyright 2003, Peter Jonathan Klauser.