org.directwebremoting.extend
Interface CallbackHelper

All Known Implementing Classes:
DefaultCallbackHelper

public interface CallbackHelper

TODO: can we make this work without a factory?

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Method Summary
<T> java.lang.String
saveCallback(Callback<T> callback, java.lang.Class<T> type)
          Used by the many proxy classes to record a callback for later calling
 

Method Detail

saveCallback

<T> java.lang.String saveCallback(Callback<T> callback,
                                  java.lang.Class<T> type)
Used by the many proxy classes to record a callback for later calling

Parameters:
callback - The callback that acts on the type
type - The type of the data that we are recording
Returns:
A key under which the data is stored

Copyright 2008