miercuri, 24 iunie 2015

[OmniFaces utilities 2.0] List of OmniFaces 2.0 un-serializable Callback interfaces


[OmniFaces utilities] The Callback represents a collection of un-serializable callback interfaces. Useful in (mini) visitor and strategy patterns.

In case you don't know, OmniFaces 2.0 comes with a set of un-serializable callback interfaces useful in (mini) visitor and strategy patterns. These interfaces are available in the final class org.omnifaces.util.Callback.
Starting with OmniFaces 2.1 the callback which takes two arguments was removed. For the rest of Callbacks listed below, OmniFaces 2.1 provides a Serializable version. 

Let's see what we have in OmniFaces 2.0:

·         void callback
·         callback which returns a value

·         callback which takes an argument

·         callback which takes two arguments (removed in OmniFaces 2.1)


·         callback which takes one argument and returns one value

Niciun comentariu:

Trimiteți un comentariu