From c2c433a05626d825c83d0662bbf0af3d280b1c6f Mon Sep 17 00:00:00 2001 From: stephan Date: Mon, 4 Jul 2016 22:26:36 +0200 Subject: [PATCH] Added documentation --- .../java/net/bootsfaces/demo/ShakeBean.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/main/java/net/bootsfaces/demo/ShakeBean.java diff --git a/src/main/java/net/bootsfaces/demo/ShakeBean.java b/src/main/java/net/bootsfaces/demo/ShakeBean.java new file mode 100644 index 00000000..0a25e047 --- /dev/null +++ b/src/main/java/net/bootsfaces/demo/ShakeBean.java @@ -0,0 +1,26 @@ +/* + * A Bean Used for Demo purposes + */ +package net.bootsfaces.demo; + +import java.io.Serializable; +import java.util.Date; + +import javax.faces.bean.ManagedBean; +import javax.faces.bean.RequestScoped; + +import net.bootsfaces.utils.FacesMessages; + +/** + * + * @author TheCoder4eu + */ +@ManagedBean +@RequestScoped +public class ShakeBean implements Serializable { + private static final long serialVersionUID = -1; + + public void onShaken() { + FacesMessages.info("Shaken at " + new Date()); + } +}