miercuri, 24 iunie 2015

[OmniFaces utilities 2.1] List of OmniFaces 2.1 serializable Callback interfaces


[OmniFaces utilities] The Callback represents a collection of 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.
OmniFaces 2.0 also supports a callback which takes two arguments, but this was removed in OmniFaces 2.1. For the rest of Callbacks, OmniFaces 2.1 provides a Serializable version. But, if you need the un-Serializable version then simply rely on OmniFaces 2.0.

Let's see what we have in OmniFaces 2.1 beside OmniFaces 2.0:

·         serializable void callback
·         serializable callback which returns a value
·         serializable callback which takes an argument

·        serializable callback which takes one argument and returns one value


Check out the blog Callback submenu to see several examples of using these interfaces to:

Niciun comentariu:

Trimiteți un comentariu