source: trunk/src/core/core-extensions.xml @ 5614

Last change on this file since 5614 was 5609, checked in by Nicklas Nordborg, 11 years ago

References #1593: Extension system for the core API

Automatically set correct version number in extension definition files when building.

Added more <about> information.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 2.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<!--
3  $Id: core-extensions.xml 5609 2011-04-15 09:15:13Z nicklas $
4
5  Copyright (C) Nicklas Nordborg
6
7  This file is part of BASE - BioArray Software Environment.
8  Available at http://base.thep.lu.se/
9
10  BASE is free software; you can redistribute it and/or
11  modify it under the terms of the GNU General Public License
12  as published by the Free Software Foundation; either version 3
13  of the License, or (at your option) any later version.
14
15  BASE is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  GNU General Public License for more details.
19
20  You should have received a copy of the GNU General Public License
21  along with BASE. If not, see <http://www.gnu.org/licenses/>.
22-->
23<extensions
24  xmlns="http://base.thep.lu.se/extensions.xsd"
25  >
26  <about>
27    <version></version>
28    <name>Core extensions points and extensions</name>
29    <description>
30      This file defines core extension points and extensions.
31      Core extensions are always loaded when BASE starts up and
32      are available in all context, no matter if BASE is running
33      as a job agent, web server, etc.
34    </description>
35    <copyright>BASE development team</copyright>
36    <email>basedb-users@lists.sourceforge.net</email>
37    <url>http://base.thep.lu.se/</url>
38  </about>
39 
40  <extension-point
41    id="net.sf.basedb.core.uri.connection-manager"
42    >
43    <action-class>net.sf.basedb.util.uri.ConnectionManagerFactory</action-class>
44    <name>Connection manager</name>
45    <description>
46      Extension point for external file support. A connection manager is
47      something that knows how to access an external file pointed to by an
48      URI. Actions are ConnectionManagerFactory instances and are typically
49      used in two ways.
50      1) In a single-file context when getting metadata or the contents of
51      a single File item. The ClientContext object is populated with an active
52      DbControl and the current item is the file.
53      2) A standalone context with the external reference as an URI. No
54      DbControl is used and no current item.
55      Extensions to this extension point must not return more than one
56      factory since we need to associate each factory with the id
57      of the extension.
58    </description>
59  </extension-point>
60 
61  <extension 
62    id="net.sf.basedb.core.uri.http-connection-manager"
63    extends="net.sf.basedb.core.uri.connection-manager"
64    >
65    <about>
66      <name>HTTP(s) connection manager</name>
67      <description>
68        Provides support for regular HTTP and HTTPS including Basic
69        and Digest authentication as well as server- and client-side
70        certificates. Auto-detection matches all URI:s with 'http'
71        or 'https' scheme.
72      </description>
73    </about>
74    <index>1</index>
75    <action-factory>
76      <factory-class>net.sf.basedb.util.uri.http.HttpConnectionManagerActionFactory</factory-class>
77    </action-factory>
78 
79  </extension>
80
81</extensions>
Note: See TracBrowser for help on using the repository browser.