Skip Navigation Links | |
Exit Print View | |
Oracle GlassFish Server 3.1 Add-On Component Development Guide |
1. Introduction to the Development Environment for GlassFish Server Add-On Components
3. Extending the Administration Console
Administration Console Architecture
Implementing a Console Provider
About Administration Console Templates
Adding Functionality to the Administration Console
Adding a Node to the Navigation Tree
Creating a JavaServer Faces Page for Your Node
Creating JavaServer Faces Pages for Your Tabs
Adding a Task to the Common Tasks Page
Creating a JavaServer Faces Page for Your Task
Adding a Task Group to the Common Tasks Page
Creating a JavaServer Faces Page for Your Task Group
Creating a JavaServer Faces Page for Your Page Content
Adding a Page to the Administration Console
Adding Internationalization Support
Changing the Theme or Brand of the Administration Console
Creating an Integration Point Type
To Create an Integration Point Type
4. Extending the asadmin Utility
5. Adding Monitoring Capabilities
6. Adding Configuration Data for a Component
7. Adding Container Capabilities
8. Creating a Session Persistence Module
9. Packaging, Integrating, and Delivering an Add-On Component
The console-config.xml file consists of a console-config element that encloses a series of integration-point elements. The console-config element has one attribute, id, which specifies a unique name or ID value for the add-on component.
In the example, the element is declared as follows:
<console-config id="sample"> ... </console-config>
You will also specify this ID value when you construct URLs to images, resources and pages in your add-on component. See Adding a Node to the Navigation Tree for an example.
For example, a URL to an image named my.gif might look like this:
<sun:image url="/resource/sample/images/my.gif" />
The URL is constructed as follows:
/resource is required to locate any resource URL.
sample is the add-on component ID. You must choose a unique ID value.
images is a folder under the root of the add-on component JAR file.