~ubuntu-branches/ubuntu/maverick/tomcat6/maverick

« back to all changes in this revision

Viewing changes to .pc/0005-change-default-DBCP-factory-class.patch/java/org/apache/naming/factory/Constants.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2010-06-28 21:41:31 UTC
  • mfrom: (2.2.15 sid)
  • Revision ID: james.westby@ubuntu.com-20100628214131-3wktukpb3lgdf83h
Tags: 6.0.26-5
* Convert patches to dep3 format.
* Backport security fix from trunk to fix CVE-2010-1157. (Closes: #587447)
* Set urgency to medium due to the security fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Licensed to the Apache Software Foundation (ASF) under one or more
 
3
 * contributor license agreements.  See the NOTICE file distributed with
 
4
 * this work for additional information regarding copyright ownership.
 
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
 
6
 * (the "License"); you may not use this file except in compliance with
 
7
 * the License.  You may obtain a copy of the License at
 
8
 * 
 
9
 *      http://www.apache.org/licenses/LICENSE-2.0
 
10
 * 
 
11
 * Unless required by applicable law or agreed to in writing, software
 
12
 * distributed under the License is distributed on an "AS IS" BASIS,
 
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
14
 * See the License for the specific language governing permissions and
 
15
 * limitations under the License.
 
16
 */ 
 
17
 
 
18
 
 
19
package org.apache.naming.factory;
 
20
 
 
21
 
 
22
/**
 
23
 * Static constants for this package.
 
24
 */
 
25
 
 
26
public final class Constants {
 
27
 
 
28
    public static final String Package = "org.apache.naming.factory";
 
29
 
 
30
    public static final String DEFAULT_RESOURCE_FACTORY = 
 
31
        Package + ".ResourceFactory";
 
32
 
 
33
    public static final String DEFAULT_RESOURCE_LINK_FACTORY = 
 
34
        Package + ".ResourceLinkFactory";
 
35
 
 
36
    public static final String DEFAULT_TRANSACTION_FACTORY = 
 
37
        Package + ".TransactionFactory";
 
38
 
 
39
    public static final String DEFAULT_RESOURCE_ENV_FACTORY = 
 
40
        Package + ".ResourceEnvFactory";
 
41
 
 
42
    public static final String DEFAULT_EJB_FACTORY = 
 
43
        Package + ".EjbFactory";
 
44
 
 
45
    public static final String DEFAULT_SERVICE_FACTORY = 
 
46
        Package + ".webservices.ServiceRefFactory";
 
47
 
 
48
    public static final String DEFAULT_HANDLER_FACTORY = 
 
49
        Package + ".HandlerFactory";
 
50
 
 
51
    public static final String DBCP_DATASOURCE_FACTORY = 
 
52
        "org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory";
 
53
 
 
54
    public static final String OPENEJB_EJB_FACTORY = 
 
55
        Package + ".OpenEjbFactory";
 
56
 
 
57
    public static final String OBJECT_FACTORIES = "";
 
58
 
 
59
    public static final String FACTORY = "factory";
 
60
 
 
61
}