org.fusesource.restygwt.client.callback
Class DefaultCallbackFactory

java.lang.Object
  extended by org.fusesource.restygwt.client.callback.DefaultCallbackFactory
All Implemented Interfaces:
CallbackFactory

public class DefaultCallbackFactory
extends Object
implements CallbackFactory

default callback factory with a given set of callback filters which gets added to a new callback after creating it.

Author:
Kristian

Constructor Summary
DefaultCallbackFactory(CallbackFilter... callbackFilter)
           
 
Method Summary
 FilterawareRequestCallback createCallback(Method method)
          helper method to create the callback with all configurations wanted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCallbackFactory

public DefaultCallbackFactory(CallbackFilter... callbackFilter)
Method Detail

createCallback

public FilterawareRequestCallback createCallback(Method method)
helper method to create the callback with all configurations wanted

Specified by:
createCallback in interface CallbackFactory
Parameters:
method -
Returns:


Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.