|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.admingui.common.gadget.GadgetHandlers
public class GadgetHandlers
This class provides access to GadgetModules. It also has a
nice JSON utility for converting JavaBean Objects (and primitives,
Collections, Maps, Strings, etc.) to JSON.
| Constructor Summary | |
|---|---|
GadgetHandlers()
Default constructor. |
|
| Method Summary | |
|---|---|
static void |
getGadgetModule(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler returns a GadgetModule for the named
gadget. |
static GadgetModule |
getGadgetModule(java.net.URL url)
This method returns a GadgetModule for the given URL. |
static java.lang.Object |
invokeHandler(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler will invoke another handler. |
static java.lang.Object |
parseString(java.lang.String test)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GadgetHandlers()
Default constructor.
| Method Detail |
|---|
public static void getGadgetModule(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler returns a GadgetModule for the named
gadget. The name should either be a complete URL,
or a context-root relative path to the gadget XML file (this
also includes .xml files stored in .jar's / plugins).
public static GadgetModule getGadgetModule(java.net.URL url)
This method returns a GadgetModule for the given URL.
public static java.lang.Object invokeHandler(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler will invoke another handler. This allows a generic handler to invoke another one and return the response(s), if any.
The following are the inputs are supported:
public static java.lang.Object parseString(java.lang.String test)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||