admin@glassfish.java.net

Command-line example of gui plugin code

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 14 Jan 2008 16:02:45 -0800

This is meant mostly for Anissa, Senthil, and Ana... but others are
welcome to take a look if you want.

The attached jar has the source and compiled test files. The
TestProvider.java class has a main() which performs the test... take a
look, it's very simple. You have to use your imagination a bit to see
how useful this is... :) The idea is that the IntegrationPoint objects
will describe or point to information which can be merged with other
integration points and form our integrated UI. This example, however,
simply calls toString() on each Integration point of type "tree", and
only uses a single Provider instance (extra credit: try changing it to
add 2 or 3 provider instances).

To run it from the .jar file:

    java -classpath guiplugin.jar
com.sun.enterprise.tools.admingui.plugin.TestProvider

Or you copy the src files to your v2 build environment and
change/compile them... then run from your build/WEB-INF/classes
directory (or add that to your classpath).

Anyway, let me know if you have questions!

Ken