org.callbackparams.sandbox
Class Collector.CollectorFactory

java.lang.Object
  extended by org.callbackparams.sandbox.Collector.CollectorFactory
All Implemented Interfaces:
org.callbackparams.factory.CallbackFactory
Enclosing interface:
Collector<A extends Annotation>

public static class Collector.CollectorFactory
extends Object
implements org.callbackparams.factory.CallbackFactory

Works as a backup Collector factory for every enum constant that neither implements Collector nor provides any implementation through CallbackFactory.getCallback().


Constructor Summary
Collector.CollectorFactory(Field f)
           
Collector.CollectorFactory(Method m, int paramIndex)
           
 
Method Summary
 Object asCallback(Object callbackParameter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Collector.CollectorFactory

public Collector.CollectorFactory(Method m,
                                  int paramIndex)

Collector.CollectorFactory

public Collector.CollectorFactory(Field f)
Method Detail

asCallback

public Object asCallback(Object callbackParameter)
Specified by:
asCallback in interface org.callbackparams.factory.CallbackFactory


Copyright © 2010-2013 Henrik Kaipe. All Rights Reserved.