CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.remoting
Class RemoteServiceSerializerFactory

java.lang.Object
  extended by com.caucho.hessian.io.AbstractSerializerFactory
      extended by com.caucho.hessian.io.SerializerFactory
          extended by com.intland.codebeamer.remoting.DecoratorSerializerFactory
              extended by com.intland.codebeamer.remoting.RemoteServiceSerializerFactory

public class RemoteServiceSerializerFactory
extends DecoratorSerializerFactory

A special SerializerFactory for RemoteService objects, especially BinaryStreamDto


Nested Class Summary
 
Nested classes/interfaces inherited from class com.intland.codebeamer.remoting.DecoratorSerializerFactory
DecoratorSerializerFactory.SerializerProxy
 
Field Summary
 
Fields inherited from class com.caucho.hessian.io.SerializerFactory
_collectionSerializer, _defaultSerializer, _factories, _mapSerializer
 
Constructor Summary
RemoteServiceSerializerFactory(com.caucho.hessian.io.SerializerFactory delegate)
          Create a new RemoteServiceSerializerFactory based on the specified SerializerFactory
 
Method Summary
protected  java.lang.Object beforeSerialization(java.lang.Object obj)
          Allows to change/touch the object before serialization
 
Methods inherited from class com.intland.codebeamer.remoting.DecoratorSerializerFactory
addClass, getDeserializer, getSerializer, isApplicable
 
Methods inherited from class com.caucho.hessian.io.SerializerFactory
addFactory, getDefaultDeserializer, getDefaultSerializer, getDeserializer, getObjectDeserializer, getObjectDeserializer, isAllowNonSerializable, readList, readMap, readObject, setAllowNonSerializable, setSendCollectionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteServiceSerializerFactory

public RemoteServiceSerializerFactory(com.caucho.hessian.io.SerializerFactory delegate)
Create a new RemoteServiceSerializerFactory based on the specified SerializerFactory

Parameters:
delegate - is the base SerializerFactory to use
Method Detail

beforeSerialization

protected java.lang.Object beforeSerialization(java.lang.Object obj)
                                        throws java.lang.Exception
Description copied from class: DecoratorSerializerFactory
Allows to change/touch the object before serialization

Overrides:
beforeSerialization in class DecoratorSerializerFactory
Parameters:
obj - The object would be serialized
Returns:
The same or altered/replaced object which actually gets serialized
Throws:
java.lang.Exception

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.