You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sirona.apache.org by ol...@apache.org on 2013/10/22 12:48:10 UTC
svn commit: r1534596 [3/4] - in /incubator/sirona/site-content: ./ apidocs/
images/
Added: incubator/sirona/site-content/issue-tracking.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/issue-tracking.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/issue-tracking.html (added)
+++ incubator/sirona/site-content/issue-tracking.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,261 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="author" content="Commons Documentation Team" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring -
+ Commons Monitoring (Sandbox) Issue tracking</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <!-- 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. --><!-- +======================================================================+
+ |**** ****|
+ |**** THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN ****|
+ |**** DO NOT EDIT DIRECTLY ****|
+ |**** ****|
+ +======================================================================+
+ | TEMPLATE FILE: sandbox-issue-tracking-template.xml |
+ | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
+ +======================================================================+
+ | |
+ | 1) Re-generate using: mvn commons:sandbox-jira-page |
+ | |
+ | 2) Set the following properties in the component's pom: |
+ | - commons.jira.componentid (required, numeric) |
+ | |
+ | 3) Example Properties |
+ | |
+ | <properties> |
+ | <commons.jira.componentid>12311182</commons.jira.componentid> |
+ | </properties> |
+ | |
+ +======================================================================+ -->
+
+
+ <div class="section">
+<h2>Commons Monitoring (Sandbox) Issue tracking<a name="Commons_Monitoring_Sandbox_Issue_tracking"></a></h2>
+
+<p>
+ Commons Monitoring (Sandbox) uses
+ <a class="externalLink" href="http://issues.apache.org/jira/">ASF JIRA</a>
+ for tracking issues.
+ See the<a class="externalLink" href="http://issues.apache.org/jira/browse/SANDBOX">Sandbox JIRA project page</a>.
+ </p>
+
+
+<p>
+ To use JIRA you may need to
+ <a class="externalLink" href="http://issues.apache.org/jira/secure/Signup!default.jspa">create an account</a>
+ (if you have previously created/updated Commons issues using Bugzilla an account will have been automatically
+ created and you can use the
+ <a class="externalLink" href="http://issues.apache.org/jira/secure/ForgotPassword!default.jspa">Forgot Password</a>
+ page to get a new password).
+ </p>
+
+
+<p>
+ If you would like to report a bug, or raise an enhancement request with
+ Commons Monitoring (Sandbox) please do the following:
+ </p>
+<ol style="list-style-type: decimal">
+
+<li><a class="externalLink" href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310491&component=12312100&sorter/field=issuekey&sorter/order=DESC&status=1&status=3&status=4">
+ Search existing open bugs</a>.
+ If you find your issue listed then please add a comment with your details.
+ </li>
+
+<li><a href="mail-lists.html">Search the mailing list archive(s)</a>.
+ You may find your issue or idea has already been discussed.
+ </li>
+
+<li>Decide if your issue is a bug or an enhancement.</li>
+
+<li>Submit either a
+ <a class="externalLink" href="http://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310491&components=12312100&issuetype=1&priority=4&assignee=-1">
+ bug report
+ </a>
+ or<a class="externalLink" href="http://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310491&components=12312100&issuetype=4&priority=4&assignee=-1">
+ enhancement request</a>.
+ </li>
+ </ol>
+
+
+
+<p>
+ Please also remember these points:
+ </p>
+<ul>
+
+<li>the more information you provide, the better we can help you</li>
+
+<li>test cases are vital, particularly for any proposed enhancements</li>
+
+<li>the developers of Commons Monitoring (Sandbox) are all unpaid volunteers</li>
+ </ul>
+
+
+
+<p>
+ For more information on subversion and creating patches see the
+ <a class="externalLink" href="http://www.apache.org/dev/contributors.html">Apache Contributors Guide</a>.
+ </p>
+
+
+<p>
+ You may also find these links useful:
+ </p>
+<ul>
+
+<li>
+ <a class="externalLink" href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310491&component=12312100&sorter/field=issuekey&sorter/order=DESC&status=1&status=3&status=4">
+ All Open Commons Monitoring (Sandbox) bugs
+ </a>
+ </li>
+
+<li>
+ <a class="externalLink" href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310491&component=12312100&sorter/field=issuekey&sorter/order=DESC&status=5&status=6">
+ All Resolved Commons Monitoring (Sandbox) bugs
+ </a>
+ </li>
+
+<li>
+ <a class="externalLink" href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310491&component=12312100&sorter/field=issuekey&sorter/order=DESC">
+ All Commons Monitoring (Sandbox) bugs
+ </a>
+ </li>
+ </ul>
+
+ </div>
+
+
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file
Added: incubator/sirona/site-content/jpa.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/jpa.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/jpa.html (added)
+++ incubator/sirona/site-content/jpa.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,168 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring - </title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <!-- -
+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. --><div class="section">
+<h2>JPA module<a name="JPA_module"></a></h2>
+<p>This module aims to monitor JPA invocations.</p></div>
+<div class="section">
+<h2>Installation<a name="Installation"></a></h2>
+<p>To use this module and get execution time of queries creation (<tt>createNamedQuery</tt>, …) set as JPA provider <tt>org.apache.sirona.jpa.MonitoringPersistence</tt>.</p>
+<p>If you have in your environment a single “real” JPA provider it should be found automatically but if that’s not the case of if you want to force the implementation set the property <tt>org.apache.sirona.jpa.provider</tt> to the real implementation you want. For instance:</p>
+
+<div class="source">
+<pre><?xml version="1.0" encoding="UTF-8"?>
+<persistence version="2.0"
+ xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+ http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
+ <persistence-unit name="my-unit">
+ ...
+ <properties>
+ <property name="org.apache.sirona.jpa.provider"
+ value="org.apache.openjpa.persistence.PersistenceProviderImpl"/>
+ ...
+ </properties>
+ </persistence-unit>
+</persistence>
+</pre></div>
+<p>Note: it works for JTA transaction-type units too.</p></div>
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file
Added: incubator/sirona/site-content/jta.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/jta.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/jta.html (added)
+++ incubator/sirona/site-content/jta.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,162 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring - </title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <!-- -
+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. --><div class="section">
+<h2>JTA module<a name="JTA_module"></a></h2>
+<p>This module aims to monitor commits/rollbacks and active transaction number.</p></div>
+<div class="section">
+<h2>Installation<a name="Installation"></a></h2>
+<p><tt>commons-monitoring-jta</tt> should be added to your webapp. You need to register the jta gauges. To do it the easiest is to add <tt>commons-monitoring-web</tt> to your webapp and register the listener <tt>org.apache.sirona.web.discovery.GaugeDiscoveryListener</tt>:</p>
+
+<div class="source">
+<pre><web-app xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ version="2.5">
+ <listener>
+ <listener-class>org.apache.sirona.web.discovery.GaugeDiscoveryListener</listener-class>
+ </listener>
+</web-app>
+</pre></div>
+<p>Note: you can register it manually using <tt>org.apache.sirona.gauges.Gauge$LoaderHelper</tt> or <tt>org.apache.sirona.repositories.Repository#addGauge</tt>. Note 2: in a servlet 3 container it is done automatically if <tt>org.apache.sirona.web.activated</tt> is true (by default)</p>
+<p>Then you need to add on the beans which can be enrolled in transactions you want to monitor the annotation <tt>org.apache.sirona.jta.JTAMonitored</tt> (CDI beans) or the interceptor <tt>org.apache.sirona.jta.JTAInterceptor</tt> (for EJB for instance it can be done through configuration, see ejb-jar.xml).</p>
+<p>Note: we are working to make it configurable - same note as for CDI module.</p></div>
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file
Added: incubator/sirona/site-content/license.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/license.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/license.html (added)
+++ incubator/sirona/site-content/license.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,336 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring - Project License</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+ <div class="section">
+<h2>Overview<a name="Overview"></a></h2><a name="Overview"></a>
+<p>Typically the licenses listed for the project are that of the project itself, and not of dependencies.</p></div>
+<div class="section">
+<h2>Project License<a name="Project_License"></a></h2><a name="Project_License"></a>
+<div class="section">
+<h3>The Apache Software License, Version 2.0<a name="The_Apache_Software_License_Version_2.0"></a></h3><a name="The_Apache_Software_License_Version_2.0"></a>
+<div class="source">
+<pre>
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed 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.
+</pre></div></div></div>
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file
Added: incubator/sirona/site-content/mail-lists.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/mail-lists.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/mail-lists.html (added)
+++ incubator/sirona/site-content/mail-lists.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,461 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="author" content="Commons Documentation Team" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring -
+ Commons Monitoring (Sandbox) Mailing Lists</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <!-- 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. --><!-- +======================================================================+
+ |**** ****|
+ |**** THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN ****|
+ |**** DO NOT EDIT DIRECTLY ****|
+ |**** ****|
+ +======================================================================+
+ | TEMPLATE FILE: mail-lists-template.xml |
+ | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
+ +======================================================================+
+ | |
+ | 1) Re-generate using: mvn commons:mail-page |
+ | |
+ | 2) Set the following properties in the component's pom: |
+ | - commons.componentid (required, alphabetic, lower case) |
+ | |
+ | 3) Example Properties |
+ | |
+ | <properties> |
+ | <commons.componentid>math</commons.componentid> |
+ | </properties> |
+ | |
+ +======================================================================+ -->
+
+
+ <div class="section">
+<h2>Overview<a name="Overview"></a></h2>
+
+<p>
+ <a href="index.html">Commons Monitoring (Sandbox)</a>
+ shares mailing lists with all the other
+ <a class="externalLink" href="http://commons.apache.org/components.html">Commons Components</a>.
+ To make it easier for people to only read messages related to components they are interested in,
+ the convention in Commons is to prefix the subject line of messages with the component's name,
+ for example:
+ </p>
+<ul>
+
+<li>[monitoring] Problem with the ...</li>
+ </ul>
+
+
+<p>
+ Questions related to the usage of Commons Monitoring (Sandbox) should be posted to the
+ <a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/commons-user/">User List</a>.
+ <br />
+ The
+ <a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/commons-dev/">Developer List</a>
+ is for questions and discussion related to the development of Commons Monitoring (Sandbox).
+ <br />
+ Please do not cross-post; developers are also subscribed to the user list.
+ </p>
+
+<p>
+ <b>Note:</b>
+ please don't send patches or attachments to any of the mailing lists.
+ Patches are best handled via the
+ <a href="issue-tracking.html">Issue Tracking</a>
+ system.
+ Otherwise, please upload the file to a public server and include the URL in the mail.
+ </p>
+ </div>
+
+
+<div class="section">
+<h2>Commons Monitoring (Sandbox) Mailing Lists<a name="Commons_Monitoring_Sandbox_Mailing_Lists"></a></h2>
+
+<p>
+ <b>Please prefix the subject line of any messages for
+ <a href="index.html">Commons Monitoring (Sandbox)</a>
+ with
+ <i>[monitoring]</i>
+ </b>
+ -
+ <i>thanks!</i>
+ <br />
+ <br />
+ </p>
+
+
+<table border="0" class="table table-striped">
+
+<tr class="a">
+
+<th>Name</th>
+
+<th>Subscribe</th>
+
+<th>Unsubscribe</th>
+
+<th>Post</th>
+
+<th>Archive</th>
+
+<th>Other Archives</th>
+ </tr>
+
+
+
+<tr class="b">
+
+<td>
+ <b>Commons User List</b>
+ <br />
+ <br />
+ Questions on using Commons Monitoring (Sandbox).
+ <br />
+ <br />
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:user-subscribe@commons.apache.org">Subscribe</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:user-unsubscribe@commons.apache.org">Unsubscribe</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:user@commons.apache.org?subject=[monitoring]">Post</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/commons-user/">mail-archives.apache.org</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://markmail.org/list/org.apache.commons.users/">markmail.org</a>
+ <br />
+ <a class="externalLink" href="http://www.mail-archive.com/user@commons.apache.org/">www.mail-archive.com</a>
+ <br />
+ <a class="externalLink" href="http://news.gmane.org/gmane.comp.jakarta.commons.devel">news.gmane.org</a>
+ </td>
+ </tr>
+
+
+
+<tr class="a">
+
+<td>
+ <b>Commons Developer List</b>
+ <br />
+ <br />
+ Discussion of development of Commons Monitoring (Sandbox).
+ <br />
+ <br />
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:dev-subscribe@commons.apache.org">Subscribe</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:dev-unsubscribe@commons.apache.org">Unsubscribe</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:dev@commons.apache.org?subject=[monitoring]">Post</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/commons-dev/">mail-archives.apache.org</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://markmail.org/list/org.apache.commons.dev/">markmail.org</a>
+ <br />
+ <a class="externalLink" href="http://www.mail-archive.com/dev@commons.apache.org/">www.mail-archive.com</a>
+ <br />
+ <a class="externalLink" href="http://news.gmane.org/gmane.comp.jakarta.commons.devel">news.gmane.org</a>
+ </td>
+ </tr>
+
+
+
+<tr class="b">
+
+<td>
+ <b>Commons Issues List</b>
+ <br />
+ <br />
+ Only for e-mails automatically generated by the
+ <a href="issue-tracking.html">issue tracking</a>
+ system.
+ <br />
+ <br />
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:issues-subscribe@commons.apache.org">Subscribe</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:issues-unsubscribe@commons.apache.org">Unsubscribe</a>
+ </td>
+
+<td>
+ <i>read only</i>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/commons-issues/">mail-archives.apache.org</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://markmail.org/list/org.apache.commons.issues/">markmail.org</a>
+ <br />
+ <a class="externalLink" href="http://www.mail-archive.com/issues@commons.apache.org/">www.mail-archive.com</a>
+ </td>
+ </tr>
+
+
+
+<tr class="a">
+
+<td>
+ <b>Commons Commits List</b>
+ <br />
+ <br />
+ Only for e-mails automatically generated by the
+ <a href="source-repository.html">source control</a>
+ sytem.
+ <br />
+ <br />
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:commits-subscribe@commons.apache.org">Subscribe</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:commits-unsubscribe@commons.apache.org">Unsubscribe</a>
+ </td>
+
+<td>
+ <i>read only</i>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/commons-commits/">mail-archives.apache.org</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://markmail.org/list/org.apache.commons.commits/">markmail.org</a>
+ <br />
+ <a class="externalLink" href="http://www.mail-archive.com/commits@commons.apache.org/">www.mail-archive.com</a>
+ </td>
+ </tr>
+
+ </table>
+
+ </div>
+
+<div class="section">
+<h2>Apache Mailing Lists<a name="Apache_Mailing_Lists"></a></h2>
+
+<p>
+ Other mailing lists which you may find useful include:
+ </p>
+
+
+<table border="0" class="table table-striped">
+
+<tr class="a">
+
+<th>Name</th>
+
+<th>Subscribe</th>
+
+<th>Unsubscribe</th>
+
+<th>Post</th>
+
+<th>Archive</th>
+
+<th>Other Archives</th>
+ </tr>
+
+<tr class="b">
+
+<td>
+ <b>Apache Announce List</b>
+ <br />
+ <br />
+ General announcements of Apache project releases.
+ <br />
+ <br />
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:announce-subscribe@apache.org">Subscribe</a>
+ </td>
+
+<td>
+ <a class="externalLink" href="mailto:announce-unsubscribe@apache.org">Unsubscribe</a>
+ </td>
+
+<td>
+ <i>read only</i>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/announce/">mail-archives.apache.org
+ </a>
+ </td>
+
+<td>
+ <a class="externalLink" href="http://markmail.org/list/org.apache.announce/">markmail.org</a>
+ <br />
+ <a class="externalLink" href="http://old.nabble.com/Apache-News-and-Announce-f109.html">old.nabble.com</a>
+ <br />
+ <a class="externalLink" href="http://www.mail-archive.com/announce@apache.org/">www.mail-archive.com</a>
+ <br />
+ <a class="externalLink" href="http://news.gmane.org/gmane.comp.apache.announce">news.gmane.org</a>
+ </td>
+ </tr>
+ </table>
+
+ </div>
+
+
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file
Added: incubator/sirona/site-content/modules.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/modules.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/modules.html (added)
+++ incubator/sirona/site-content/modules.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,184 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring - Project Modules</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <div class="section">
+<h2>Project Modules<a name="Project_Modules"></a></h2><a name="Project_Modules"></a>
+<p>This project has declared the following modules:</p>
+<table border="0" class="table table-striped">
+<tr class="a">
+<th>Name</th>
+<th>Description</th></tr>
+<tr class="b">
+<td><a href="sirona-core/index.html">Apache Sirona Incubator :: Core</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="a">
+<td><a href="sirona-jdbc/index.html">Apache Sirona Incubator :: JDBC</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="b">
+<td><a href="sirona-aop/index.html">Apache Sirona Incubator :: AOP</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="a">
+<td><a href="sirona-cdi/index.html">Apache Sirona Incubator :: CDI Integration</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="b">
+<td><a href="sirona-spring/index.html">Apache Sirona Incubator :: Spring Integration</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="a">
+<td><a href="sirona-aspectj/index.html">Apache Sirona Incubator :: AspectJ Integration</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="b">
+<td><a href="sirona-jta/index.html">Apache Sirona Incubator :: JTA</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="a">
+<td><a href="sirona-web/index.html">Apache Sirona Incubator :: Web</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="b">
+<td><a href="sirona-reporting/index.html">Apache Sirona Incubator :: Reporting</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="a">
+<td><a href="sirona-graphite/index.html">Apache Sirona Incubator :: Graphite</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="b">
+<td><a href="sirona-cube/index.html">Apache Sirona Incubator :: Cube</a></td>
+<td>A DataStore for https://github.com/square/cube</td></tr>
+<tr class="a">
+<td><a href="sirona-collector/index.html">Apache Sirona Incubator :: Collector</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr>
+<tr class="b">
+<td><a href="sirona-jpa/index.html">Apache Sirona Incubator :: JPA</a></td>
+<td>Sirona provides a simple, lightweight toolkit to instrument java application monitoring capabilities, including
+ performances and thread concurrency.</td></tr></table></div>
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file
Added: incubator/sirona/site-content/plugin-management.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/plugin-management.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/plugin-management.html (added)
+++ incubator/sirona/site-content/plugin-management.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,237 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring - Project Plugin Management</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <div class="section">
+<h2>Project Plugin Management<a name="Project_Plugin_Management"></a></h2><a name="Project_Plugin_Management"></a>
+<table border="0" class="table table-striped">
+<tr class="a">
+<th>GroupId</th>
+<th>ArtifactId</th>
+<th>Version</th></tr>
+<tr class="b">
+<td>org.apache.felix</td>
+<td><a class="externalLink" href="http://felix.apache.org/maven-bundle-plugin/">maven-bundle-plugin</a></td>
+<td>2.3.7</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-antrun-plugin/">maven-antrun-plugin</a></td>
+<td>1.6</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-assembly-plugin/">maven-assembly-plugin</a></td>
+<td>2.2.1</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-clean-plugin/">maven-clean-plugin</a></td>
+<td>2.5</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-compiler-plugin/">maven-compiler-plugin</a></td>
+<td>3.1</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-dependency-plugin/">maven-dependency-plugin</a></td>
+<td>2.1</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-deploy-plugin/">maven-deploy-plugin</a></td>
+<td>2.7</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-docck-plugin/">maven-docck-plugin</a></td>
+<td>1.0</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-enforcer-plugin/">maven-enforcer-plugin</a></td>
+<td>1.0.1</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/surefire/maven-failsafe-plugin">maven-failsafe-plugin</a></td>
+<td>2.12.4</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-gpg-plugin/">maven-gpg-plugin</a></td>
+<td>1.4</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-install-plugin/">maven-install-plugin</a></td>
+<td>2.3.1</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-invoker-plugin/">maven-invoker-plugin</a></td>
+<td>1.7</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-jar-plugin/">maven-jar-plugin</a></td>
+<td>2.4</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-javadoc-plugin/">maven-javadoc-plugin</a></td>
+<td>2.9.1</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugin-tools/maven-plugin-plugin/">maven-plugin-plugin</a></td>
+<td>3.2</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-release-plugin/">maven-release-plugin</a></td>
+<td>2.3.2</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-remote-resources-plugin/">maven-remote-resources-plugin</a></td>
+<td>1.4</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-resources-plugin/">maven-resources-plugin</a></td>
+<td>2.6</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/scm/maven-scm-plugin/">maven-scm-plugin</a></td>
+<td>1.8</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-scm-publish-plugin">maven-scm-publish-plugin</a></td>
+<td>1.0-beta-2</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-site-plugin/">maven-site-plugin</a></td>
+<td>3.3</td></tr>
+<tr class="b">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/plugins/maven-source-plugin/">maven-source-plugin</a></td>
+<td>2.2.1</td></tr>
+<tr class="a">
+<td>org.apache.maven.plugins</td>
+<td><a class="externalLink" href="http://maven.apache.org/surefire/maven-surefire-plugin">maven-surefire-plugin</a></td>
+<td>2.16</td></tr>
+<tr class="b">
+<td>org.apache.rat</td>
+<td><a class="externalLink" href="http://incubator.apache.org/rat/apache-rat-plugin">apache-rat-plugin</a></td>
+<td>0.8</td></tr>
+<tr class="a">
+<td>org.codehaus.mojo</td>
+<td><a class="externalLink" href="http://mojo.codehaus.org/clirr-maven-plugin">clirr-maven-plugin</a></td>
+<td>2.4</td></tr></table></div>
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file
Added: incubator/sirona/site-content/plugins.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/plugins.html?rev=1534596&view=auto
==============================================================================
--- incubator/sirona/site-content/plugins.html (added)
+++ incubator/sirona/site-content/plugins.html Tue Oct 22 10:48:09 2013
@@ -0,0 +1,261 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2013-10-22
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="Date-Revision-yyyymmdd" content="20131022" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Common Monitoring - </title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">User Guide <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="concepts.html" title="Concepts">Concepts</a>
+</li>
+
+ <li> <a href="basis.html" title="Basis">Basis</a>
+</li>
+
+ <li> <a href="configuration.html" title="Configuration">Configuration</a>
+</li>
+
+ <li> <a href="instrumentation.html" title="Instrumentation">Instrumentation</a>
+</li>
+
+ <li> <a href="reporting.html" title="Reporting">Reporting</a>
+</li>
+
+ <li> <a href="plugins.html" title="Plugins">Plugins</a>
+</li>
+
+ <li> <a href="jta.html" title="JTA">JTA</a>
+</li>
+
+ <li> <a href="web.html" title="Web">Web</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="index.html" id="bannerLeft" title="Apache Commons logo">
+ <img src="images/commons-logo.png" alt="Apache Commons logo"/>
+ </a>
+ </div>
+ <div class="pull-right"> </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li id="publishDate">Last Published: 2013-10-22</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.0-SNAPSHOT</li>
+
+
+
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <!-- -
+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. --><div class="section">
+<h2>Plugins<a name="Plugins"></a></h2>
+<p>There are several kind of plugins:</p>
+
+<ul>
+
+<li><tt>org.apache.sirona.gauges.Gauge</tt> and <tt>org.apache.sirona.gauges.GaugeFactory</tt>: you can add your own gauges</li>
+
+<li><tt>org.apache.sirona.reporting.web.plugin.Plugin</tt>: add feature to the web GUI</li>
+</ul></div>
+<div class="section">
+<h2>Write your own gauge<a name="Write_your_own_gauge"></a></h2>
+<p>To add your own Gauge you have two main solutions:</p>
+
+<ul>
+
+<li>simply implement a <tt>org.apache.sirona.gauges.Gauge</tt> and register it using ServiceLoader mecanism (META-INF/services/org.apache.sirona.gauges.Gauge)</li>
+
+<li>implement a <tt>org.apache.sirona.gauges.GaugeFactory</tt> which is registered it using ServiceLoader mecanism (META-INF/services/org.apache.sirona.gauges.GaugeFactory) and return the gauges you want to register</li>
+</ul>
+<p>What is GaugeFactory designed for? Imagine a custom gauge is parameterized. You’ll surely want to register it several times with different parameters. If you use Gauge SPI you’ll need to do N implementations (which makes the parameters useless). With GaugeFactory you just need to return the built instances:</p>
+
+<div class="source">
+<pre>public class MyGaugeFactory implements GaugeFactory {
+ @Override
+ public Gauge[] gauges() {
+ return new Gauge[] { new MyGauge(1); new MyGauge(2); };
+ }
+}
+</pre></div></div>
+<div class="section">
+<h2>Extend the reporting GUI<a name="Extend_the_reporting_GUI"></a></h2>
+<p>To extend the reporting GUI just write your own <tt>org.apache.sirona.reporting.web.plugin.Plugin</tt>. Here too it relies on java ServiceLoader (SPI) mecanism.</p>
+<p>Here is the Plugin interface:</p>
+
+<div class="source">
+<pre>public interface Plugin {
+ String name();
+ Class<?> endpoints();
+ String mapping();
+}
+</pre></div>
+<p>A plugin has basically a name (what will identify it in the webapp and in the GUI - it will be the name of the plugin tab), a mapping, ie which base subcontext it will use for its own pages (for instance /jmx, /myplugin …) and a class representing endpoints.</p>
+<p>To make it more concrete we’ll use a sample (the standard Hello World).</p>
+<div class="section">
+<h3>Define the plugin<a name="Define_the_plugin"></a></h3>
+<p>So first we define our HelloPlugin:</p>
+
+<div class="source">
+<pre>public class HelloPlugin implements Plugin {
+ public String name() {
+ return "Hello";
+ }
+
+ public Class<?> endpoints() {
+ return HelloEndpoints.class;
+ }
+
+ public String mapping() {
+ return "/hello";
+ }
+}
+</pre></div></div>
+<div class="section">
+<h3>Define the endpoints<a name="Define_the_endpoints"></a></h3>
+<p>The <tt>HelloEndpoints</tt> class defines all the urls accessible for the hello plugin. It uses the <tt>org.apache.sirona.reporting.web.handler.api.Regex</tt> annotation:</p>
+
+<div class="source">
+<pre>public class HelloEndpoints {
+ @Regex // will match "/hello"
+ public Template home() {
+ return new Template("hello/home.vm", new MapBuilder<String, Object>().set("name", "world).build());
+ }
+
+ @Regex("/world/([0-9]*)/([0-9]*)") // will match "/hello/world/1/2"
+ public String jsonWorld(final long start, final long end) {
+ return "{ \"name\": \world\", \"start\":\"" + long1 + "\",\"end\":\"" + long2 + "\"}";
+ }
+}
+</pre></div>
+<p>The first home method uses a template. The GUI relies on velocity and html templates needs to be in the classloader in templates directory.</p>
+<p>So basically the home method will search for templates/hello/home.vm velocity template. It is only the “main” part of the GUI (the tabs are automatically added). Twitter bootstrap (2.3.2) and JQuery are available.</p>
+<p>Here is a sample:</p>
+
+<div class="source">
+<pre><h1>Hello</h1>
+<div>
+ Welcome to $name
+</div>
+</pre></div>
+<p>If you need resources put them in the classloader too in “resources” folder.</p>
+<p>Note: if you want to do links in the template you can use $mapping variable as base context of your link. For instance: >a href=“$mapping/foo”<Foo>/a<.</p>
+<p>If you want to filter some resources you can add a custom endpoint:</p>
+
+<div class="source">
+<pre>@Regex("/resources/myresource.css")
+public void filterCss(final TemplateHelper helper) {
+ helper.renderPlain("/resources/myresource.css");
+}
+</pre></div>
+<div class="section">
+<h4><tt>@Regex</tt><a name="aRegex"></a></h4>
+<p><tt>@Regex</tt> allows you to get injected path segments, here is what is handled:</p>
+
+<ul>
+
+<li>HttpServletRequest</li>
+
+<li>HttpServletResponse</li>
+
+<li>TemplateHelper (should be used when you want to render a velocity template which is not in /templates and is not decorated by the default GUI layout)</li>
+
+<li>String: will inject the matching element of the regex (it is indexed = if you inject 2 strings the first one will be the first group and the second one the second group)</li>
+
+<li>Long, Integer: same as for String but converted</li>
+
+<li>String[]: all not yet matched segments of the regex</li>
+</ul>
+<p>For instance <tt>@Regex("/operation/([^/]*)/([^/]*)/(.*)")</tt> will match <tt>foo(String, String, String[])</tt>. If the url is <tt>/operation/a/b/c/d/e</tt> you’ll get <tt>foo("a", "b", { "c", "d", "e" })</tt>.</p></div></div></div>
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row span12">Copyright © 2008-2013
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+ </div>
+ </footer>
+ </body>
+</html>
\ No newline at end of file