1 /* $Id: factory_static.cpp,v 1.18 2007-05-09 21:23:09 adam Exp $
2 Copyright (c) 2005-2007, Index Data.
4 This file is part of Metaproxy.
6 Metaproxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
11 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with Metaproxy; see the file LICENSE. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
25 #include "factory_static.hpp"
29 #include "package.hpp"
31 #include "factory_filter.hpp"
33 #include "filter_auth_simple.hpp"
34 #include "filter_backend_test.hpp"
35 #include "filter_bounce.hpp"
36 #include "filter_cql_to_rpn.hpp"
37 #include "filter_frontend_net.hpp"
38 #include "filter_http_file.hpp"
39 #include "filter_load_balance.hpp"
40 #include "filter_log.hpp"
41 #include "filter_multi.hpp"
42 #include "filter_query_rewrite.hpp"
43 #include "filter_record_transform.hpp"
44 #include "filter_session_shared.hpp"
45 #include "filter_sru_to_z3950.hpp"
46 #include "filter_template.hpp"
47 #include "filter_virt_db.hpp"
48 #include "filter_z3950_client.hpp"
49 #include "filter_zeerex_explain.hpp"
51 namespace mp = metaproxy_1;
53 mp::FactoryStatic::FactoryStatic()
55 struct metaproxy_1_filter_struct *buildins[] = {
56 &metaproxy_1_filter_auth_simple,
57 &metaproxy_1_filter_backend_test,
58 &metaproxy_1_filter_bounce,
59 &metaproxy_1_filter_cql_to_rpn,
60 &metaproxy_1_filter_frontend_net,
61 &metaproxy_1_filter_http_file,
62 &metaproxy_1_filter_load_balance,
63 &metaproxy_1_filter_log,
64 &metaproxy_1_filter_multi,
65 &metaproxy_1_filter_query_rewrite,
66 &metaproxy_1_filter_record_transform,
67 &metaproxy_1_filter_session_shared,
68 &metaproxy_1_filter_sru_to_z3950,
69 &metaproxy_1_filter_template,
70 &metaproxy_1_filter_virt_db,
71 &metaproxy_1_filter_z3950_client,
72 &metaproxy_1_filter_zeerex_explain,
77 for (i = 0; buildins[i]; i++)
78 add_creator(buildins[i]->type, buildins[i]->creator);
85 * indent-tabs-mode: nil
86 * c-file-style: "stroustrup"
88 * vim: shiftwidth=4 tabstop=8 expandtab