org.codehaus.wadi.aop.tracker.basic
Class CollectionReplacer

java.lang.Object
  extended by org.codehaus.wadi.aop.tracker.basic.AbstractReplacer
      extended by org.codehaus.wadi.aop.tracker.basic.CollectionReplacer
All Implemented Interfaces:
java.io.Serializable, InstanceAndTrackerReplacer

public class CollectionReplacer
extends AbstractReplacer

Version:
$Revision: 1538 $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.wadi.aop.tracker.basic.AbstractReplacer
AbstractReplacer.Replacer
 
Constructor Summary
CollectionReplacer(InstanceAndTrackerReplacer parentReplacer)
           
 
Method Summary
 boolean canProcess(java.lang.Object instance)
           
protected  java.util.Collection newCollection(java.util.Collection collection)
           
protected  java.lang.Object replace(java.lang.Object instance, AbstractReplacer.Replacer replacer)
           
 
Methods inherited from class org.codehaus.wadi.aop.tracker.basic.AbstractReplacer
replaceWithInstance, replaceWithTracker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionReplacer

public CollectionReplacer(InstanceAndTrackerReplacer parentReplacer)
Method Detail

canProcess

public boolean canProcess(java.lang.Object instance)

replace

protected java.lang.Object replace(java.lang.Object instance,
                                   AbstractReplacer.Replacer replacer)
Specified by:
replace in class AbstractReplacer

newCollection

protected java.util.Collection newCollection(java.util.Collection collection)


Copyright © 2010. All Rights Reserved.