<?xml version="1.0" encoding="UTF-8"?>
<!-- 
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed  under the  License is distributed on an "AS IS" BASIS,
WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
implied.

See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- $Rev: 805522 $ $Date: 2009-08-18 11:18:33 -0700 (Tue, 18 Aug 2009) $ -->

<portlet-app version="1.0">

    <portlet>
        <description>Portlet for displaying internal DB info</description>
        <portlet-name>InternalDB</portlet-name>
        <display-name>Internal Database Portlet</display-name>
        <portlet-class>org.apache.geronimo.console.internaldb.InternalDBPortlet</portlet-class>
        <expiration-cache>-1</expiration-cache>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
            <portlet-mode>HELP</portlet-mode>
        </supports>
        <supported-locale>en</supported-locale>
        <supported-locale>zh</supported-locale>
        <supported-locale>ja</supported-locale>
        <resource-bundle>portletinfo</resource-bundle>
        <portlet-info>
            <title>DB Info</title>
            <short-title>DB Info</short-title>
            <keywords>DB Info</keywords>
        </portlet-info>
    </portlet>

    <portlet>
        <description>Portlet for viewing database contents</description>
        <portlet-name>DBViewer</portlet-name>
        <display-name>Database Viewer Portlet</display-name>
        <portlet-class>org.apache.geronimo.console.internaldb.DBViewerPortlet</portlet-class>
        <expiration-cache>-1</expiration-cache>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
            <portlet-mode>HELP</portlet-mode>
        </supports>
        <supported-locale>en</supported-locale>
        <supported-locale>zh</supported-locale>
        <supported-locale>ja</supported-locale>
        <resource-bundle>portletinfo</resource-bundle>
        <portlet-info>
            <title>DB Viewer</title>
            <short-title>DB Viewer</short-title>
            <keywords>DB Viewer</keywords>
        </portlet-info>
    </portlet>

    <portlet>
        <description>Portlet for viewing the derby System database logs.</description>
        <portlet-name>DerbyLogViewer</portlet-name>
        <display-name>Derby Log Viewer Portlet</display-name>
        <portlet-class>org.apache.geronimo.console.derbylogmanager.DerbyLogViewerPortlet</portlet-class>
        <expiration-cache>-1</expiration-cache>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
            <portlet-mode>HELP</portlet-mode>
        </supports>
        <supported-locale>en</supported-locale>
        <supported-locale>zh</supported-locale>
        <supported-locale>ja</supported-locale>
        <resource-bundle>portletinfo</resource-bundle>
        <portlet-info>
            <title>Derby Log Viewer</title>
            <short-title>Derby Log Viewer</short-title>
            <keywords>Derby, Log, Viewer</keywords>
        </portlet-info>
    </portlet>

    <portlet>
        <description>Portlet for running SQL commands</description>
        <portlet-name>RunSQL</portlet-name>
        <display-name>Run SQL Portlet</display-name>
        <portlet-class>org.apache.geronimo.console.internaldb.RunSQLPortlet</portlet-class>
        <expiration-cache>-1</expiration-cache>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
            <portlet-mode>HELP</portlet-mode>
        </supports>
        <supported-locale>en</supported-locale>
        <supported-locale>zh</supported-locale>
        <supported-locale>ja</supported-locale>
        <resource-bundle>portletinfo</resource-bundle>
        <portlet-info>
            <title>Run SQL</title>
            <short-title>Run SQL</short-title>
            <keywords>Run SQL</keywords>
        </portlet-info>
        <init-param>
            <name>connectionMode</name>
            <value>database</value>
        </init-param>
    </portlet>

    <portlet>
        <description>Portlet for running DataSource SQL commands</description>
        <portlet-name>RunSQLDS</portlet-name>
        <display-name>DataSource Run SQL Portlet</display-name>
        <portlet-class>org.apache.geronimo.console.internaldb.RunSQLPortlet</portlet-class>
        <expiration-cache>-1</expiration-cache>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
            <portlet-mode>HELP</portlet-mode>
        </supports>
        <supported-locale>en</supported-locale>
        <supported-locale>zh</supported-locale>
        <supported-locale>ja</supported-locale>
        <resource-bundle>portletinfo</resource-bundle>
        <portlet-info>
            <title>Run SQL</title>
            <short-title>Run SQL</short-title>
            <keywords>Run SQL</keywords>
        </portlet-info>
        <init-param>
            <name>connectionMode</name>
            <value>datasource</value>
        </init-param>
    </portlet>

    <portlet>
        <description>Portlet for managing database pools</description>
        <portlet-name>DBWizard</portlet-name>
        <display-name>Database Pool Wizard</display-name>
        <portlet-class>org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet</portlet-class>
        <expiration-cache>-1</expiration-cache>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>VIEW</portlet-mode>
        </supports>
        <supported-locale>en</supported-locale>
        <supported-locale>zh</supported-locale>
        <supported-locale>ja</supported-locale>
        <resource-bundle>portletinfo</resource-bundle>
        <portlet-info>
            <title>Database Pools</title>
            <short-title>Database Pools</short-title>
            <keywords>Database Pool Wizard</keywords>
        </portlet-info>
    </portlet>

</portlet-app>
