diff --git a/Client/.gradle/3.2.1/taskArtifacts/fileHashes.bin b/Client/.gradle/3.2.1/taskArtifacts/fileHashes.bin new file mode 100644 index 0000000..b4ecd17 Binary files /dev/null and b/Client/.gradle/3.2.1/taskArtifacts/fileHashes.bin differ diff --git a/Client/.gradle/3.2.1/taskArtifacts/fileSnapshots.bin b/Client/.gradle/3.2.1/taskArtifacts/fileSnapshots.bin new file mode 100644 index 0000000..390ca25 Binary files /dev/null and b/Client/.gradle/3.2.1/taskArtifacts/fileSnapshots.bin differ diff --git a/Client/.gradle/3.2.1/taskArtifacts/taskArtifacts.bin b/Client/.gradle/3.2.1/taskArtifacts/taskArtifacts.bin new file mode 100644 index 0000000..9eddc12 Binary files /dev/null and b/Client/.gradle/3.2.1/taskArtifacts/taskArtifacts.bin differ diff --git a/Client/.gradle/3.2.1/taskArtifacts/taskArtifacts.lock b/Client/.gradle/3.2.1/taskArtifacts/taskArtifacts.lock new file mode 100644 index 0000000..4516d32 Binary files /dev/null and b/Client/.gradle/3.2.1/taskArtifacts/taskArtifacts.lock differ diff --git a/Client/bib/commons-logging-1.2-bin.zip b/Client/bib/commons-logging-1.2-bin.zip new file mode 100755 index 0000000..091e6bd Binary files /dev/null and b/Client/bib/commons-logging-1.2-bin.zip differ diff --git a/Client/bib/commons-logging-1.2-bin/LICENSE.txt b/Client/bib/commons-logging-1.2-bin/LICENSE.txt new file mode 100755 index 0000000..d645695 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/LICENSE.txt @@ -0,0 +1,202 @@ + + 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. diff --git a/Client/bib/commons-logging-1.2-bin/NOTICE.txt b/Client/bib/commons-logging-1.2-bin/NOTICE.txt new file mode 100755 index 0000000..556bd03 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/NOTICE.txt @@ -0,0 +1,6 @@ +Apache Commons Logging +Copyright 2003-2014 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + diff --git a/Client/bib/commons-logging-1.2-bin/RELEASE-NOTES.txt b/Client/bib/commons-logging-1.2-bin/RELEASE-NOTES.txt new file mode 100755 index 0000000..6376134 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/RELEASE-NOTES.txt @@ -0,0 +1,31 @@ + Apache Commons Logging + Version 1.2 + RELEASE NOTES + +The Apache Commons Logging team is pleased to announce +the release of Apache Commons Logging 1.2 + +Apache Commons Logging is a thin adapter allowing configurable +bridging to other, well known logging systems. + +This is a maintenance release containing bug fixes. +Java 1.2 or later is required. + +Changes in this version include: + +Fixed Bugs: +o LOGGING-37: Improve performance of LogFactory#getFactory() by calling + Thread#currentThread()#getContextClassLoader() directly instead + of using reflection. As a consequence support for JDK 1.1 has + been dropped. Thanks to Matthias Ernst, Archie Cobbs. +o LOGGING-156: Fix SecurityAllowedTestCase when executed with OpenJDK 1.7 due + to an additional required RuntimePermission. Thanks to Mikolaj Izdebski. +o LOGGING-157: Fix javadoc to comply with javadoc tool from jdk 1.8. Thanks to Ville Skyttä. + + +Historical list of changes: http://commons.apache.org/proper/commons-logging/changes-report.html + +For complete information on Apache Commons Logging, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons Logging website: + +http://commons.apache.org/proper/commons-logging/ \ No newline at end of file diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/allclasses-frame.html b/Client/bib/commons-logging-1.2-bin/apidocs/allclasses-frame.html new file mode 100755 index 0000000..8ff9b38 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/allclasses-frame.html @@ -0,0 +1,30 @@ + + + +
+ +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+DIAGNOSTICS_DEST_PROPERTY |
+"org.apache.commons.logging.diagnostics.dest" |
+
+
+public static final String |
+FACTORY_DEFAULT |
+"org.apache.commons.logging.impl.LogFactoryImpl" |
+
+
+public static final String |
+FACTORY_PROPERTIES |
+"commons-logging.properties" |
+
+
+public static final String |
+FACTORY_PROPERTY |
+"org.apache.commons.logging.LogFactory" |
+
+
+public static final String |
+HASHTABLE_IMPLEMENTATION_PROPERTY |
+"org.apache.commons.logging.LogFactory.HashtableImpl" |
+
+
+public static final String |
+PRIORITY_KEY |
+"priority" |
+
+
+protected static final String |
+SERVICE_ID |
+"META-INF/services/org.apache.commons.logging.LogFactory" |
+
+
+public static final String |
+TCCL_KEY |
+"use_tccl" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+ALLOW_FLAWED_CONTEXT_PROPERTY |
+"org.apache.commons.logging.Log.allowFlawedContext" |
+
+
+public static final String |
+ALLOW_FLAWED_DISCOVERY_PROPERTY |
+"org.apache.commons.logging.Log.allowFlawedDiscovery" |
+
+
+public static final String |
+ALLOW_FLAWED_HIERARCHY_PROPERTY |
+"org.apache.commons.logging.Log.allowFlawedHierarchy" |
+
+
+public static final String |
+LOG_PROPERTY |
+"org.apache.commons.logging.Log" |
+
+
+protected static final String |
+LOG_PROPERTY_OLD |
+"org.apache.commons.logging.log" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final String |
+DEFAULT_DATE_TIME_FORMAT |
+"yyyy/MM/dd HH:mm:ss:SSS zzz" |
+
+
+public static final int |
+LOG_LEVEL_ALL |
+0 |
+
+
+public static final int |
+LOG_LEVEL_DEBUG |
+2 |
+
+
+public static final int |
+LOG_LEVEL_ERROR |
+5 |
+
+
+public static final int |
+LOG_LEVEL_FATAL |
+6 |
+
+
+public static final int |
+LOG_LEVEL_INFO |
+3 |
+
+
+public static final int |
+LOG_LEVEL_OFF |
+7 |
+
+
+public static final int |
+LOG_LEVEL_TRACE |
+1 |
+
+
+public static final int |
+LOG_LEVEL_WARN |
+4 |
+
+
+protected static final String |
+systemPrefix |
+"org.apache.commons.logging.simplelog." |
+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/deprecated-list.html b/Client/bib/commons-logging-1.2-bin/apidocs/deprecated-list.html new file mode 100755 index 0000000..c6a1978 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/deprecated-list.html @@ -0,0 +1,207 @@ + + + + + +Class and Description | +
---|
org.apache.commons.logging.LogSource
+ Use
+LogFactory instead - The default factory
+ implementation performs exactly the same algorithm as this class did |
+
Field and Description | +
---|
org.apache.commons.logging.LogFactory.nullClassLoaderFactory
+ since 1.1.2
+ |
+
Method and Description | +
---|
org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName()
+ Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor()
+ Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
org.apache.commons.logging.impl.LogFactoryImpl.isJdk13LumberjackAvailable()
+ Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available()
+ Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
org.apache.commons.logging.impl.LogFactoryImpl.isLog4JAvailable()
+ Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/help-doc.html b/Client/bib/commons-logging-1.2-bin/apidocs/help-doc.html new file mode 100755 index 0000000..776d93f --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/help-doc.html @@ -0,0 +1,220 @@ + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/index-all.html b/Client/bib/commons-logging-1.2-bin/apidocs/index-all.html new file mode 100755 index 0000000..0dc02c5 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/index-all.html @@ -0,0 +1,1546 @@ + + + + + +org.apache.commons.logging.Log.allowFlawedContext
)
+ of the system property which can be set true/false to
+ determine system behaviour when a bad context-classloader is encountered.org.apache.commons.logging.Log.allowFlawedDiscovery
)
+ of the system property which can be set true/false to
+ determine system behaviour when a bad logging adapter class is
+ encountered during logging discovery.org.apache.commons.logging.Log.allowFlawedHierarchy
)
+ of the system property which can be set true/false to
+ determine system behaviour when a logging adapter class is
+ encountered which has bound to the wrong Log class implementation.AvalonLogger
that outputs to the given
+ Logger
instance.AvalonLogger
that will log to a child
+ of the Logger
set by calling AvalonLogger.setDefaultLogger(org.apache.avalon.framework.logger.Logger)
.org.apache.avalon.framework.logger.Logger.debug
.org.apache.avalon.framework.logger.Logger.debug
.java.util.logging.Level.FINE
.java.util.logging.Level.FINE
.java.util.logging.Level.FINE
.java.util.logging.Level.FINE
.org.apache.log4j.Priority.DEBUG
.org.apache.log4j.Priority.DEBUG
.org.apache.log.Priority.DEBUG
.org.apache.log.Priority.DEBUG
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_DEBUG
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_DEBUG
.org.apache.commons.logging.diagnostics.dest
)
+ of the property used to enable internal commons-logging
+ diagnostic output, in order to get information on what logging
+ implementations are being discovered, what classloaders they
+ are loaded through, etc.org.apache.avalon.framework.logger.Logger.error
.org.apache.avalon.framework.logger.Logger.error
.java.util.logging.Level.SEVERE
.java.util.logging.Level.SEVERE
.java.util.logging.Level.SEVERE
.java.util.logging.Level.SEVERE
.org.apache.log4j.Priority.ERROR
.org.apache.log4j.Priority.ERROR
.org.apache.log.Priority.ERROR
.org.apache.log.Priority.ERROR
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR
.LogFactory
instances, keyed by
+ the ClassLoader
with which it was created.LogFactory
+ implementation class to use, if no other can be found.commons-logging.properties
) of the properties file to search for.org.apache.commons.logging.LogFactory
) of the property
+ used to identify the LogFactory implementation
+ class name.org.apache.avalon.framework.logger.Logger.fatalError
.org.apache.avalon.framework.logger.Logger.fatalError
.java.util.logging.Level.SEVERE
.java.util.logging.Level.SEVERE
.java.util.logging.Level.SEVERE
.java.util.logging.Level.SEVERE
.org.apache.log4j.Priority.FATAL
.org.apache.log4j.Priority.FATAL
.org.apache.log.Priority.FATAL_ERROR
.org.apache.log.Priority.FATAL_ERROR
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL
.null
if there is no such attribute.null
if there is no such attribute.LogFactory
+ instance, using the following ordered lookup procedure to determine
+ the name of the implementation class to be loaded.getInstance(String)
with it.Log
instance,
+ using the factory's current set of configuration attributes.getInstance(String)
with it.Log
instance,
+ using the factory's current set of configuration attributes.Log
instance by class name.Log
instance by class.String
array containing the names of
+ all logs known to me.org.apache.commons.logging.LogFactory.HashtableImpl
)
+ value allows the Hashtable
used to store
+ classloaders to be substituted by an alternative implementation.org.apache.avalon.framework.logger.Logger.info
.org.apache.avalon.framework.logger.Logger.info
.java.util.logging.Level.INFO
.java.util.logging.Level.INFO
.java.util.logging.Level.INFO
.java.util.logging.Level.INFO
.org.apache.log4j.Priority.INFO
.org.apache.log4j.Priority.INFO
.org.apache.log.Priority.INFO
.org.apache.log.Priority.INFO
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO
.Log
instances that have
+ already been created, keyed by logger name.org.apache.avalon.framework.logger.Logger.debug
enabled?DEBUG
priority.LogKit
logger will log messages of priority DEBUG
.org.apache.avalon.framework.logger.Logger.error
enabled?ERROR
priority.LogKit
logger will log messages of priority ERROR
.org.apache.avalon.framework.logger.Logger.fatalError
enabled?FATAL
priority.LogKit
logger will log messages of priority FATAL_ERROR
.org.apache.avalon.framework.logger.Logger.info
enabled?INFO
priority.LogKit
logger will log messages of priority INFO
.org.apache.avalon.framework.logger.Logger.debug
enabled?TRACE
priority.LogKit
logger will log messages of priority DEBUG
.org.apache.avalon.framework.logger.Logger.warn
enabled?WARN
priority.LogKit
logger will log messages of priority WARN
.org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that are
+ available in SourceForge's Lumberjack for JDKs prior to 1.4.org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that were
+ introduced in the Merlin release (JDK 1.4).Log
that maps directly to a
+ Logger for log4J version 1.2.org.apache.commons.logging.Log
) of the system
+ property identifying our Log
implementation class.LogFactory
+ or Log
instance cannot be created by the corresponding
+ factory methods.null
as its detail message.Log
+ implementation class that will be used to create new instances.Log
instances, with discovery and
+ configuration features similar to that employed by standard Java APIs
+ such as JAXP.LogFactory
that implements the
+ following algorithm to dynamically select a logging implementation
+ class to instantiate a wrapper for:
+
+ Use a factory configuration attribute named
+ org.apache.commons.logging.Log
to identify the
+ requested implementation class.
+ Use the org.apache.commons.logging.Log
system property
+ to identify the requested implementation class.
+ If Log4J is available, return an instance of
+ org.apache.commons.logging.impl.Log4JLogger
.
+ If JDK 1.4 or later is available, return an instance of
+ org.apache.commons.logging.impl.Jdk14Logger
.
+ Otherwise, return an instance of
+ org.apache.commons.logging.impl.SimpleLog
.
+ LogKit
loggerorg.apache.commons.logging.Log
+ that wraps the avalon-logkit
+ logging system.LogKitLogger
which wraps the LogKit
+ logger with given name.setLogFactory
method of the selected
+ Log
method, if it exists.setLogFactory
method to be used.LogFactory
instead - The default factory
+ implementation performs exactly the same algorithm as this class didLog
implementation, based on the given name.LogFactory
+ implementation class, loaded by the specified class loader.Log
+ instance for the specified name.priority
) of the key in the config file used to
+ specify the priority of that particular config file.Log
+ instances returned by this factory.Log
+ instances returned by this factory.LogFactory
+ instances that have been associated with the specified class loader
+ (if any), after calling the instance method release()
on
+ each of them.LogFactory
+ instances, after calling the instance method release()
on
+ each of them.SimpleLog
start with thisuse_tccl
) of the key in the config file used
+ to specify whether logging classes should be loaded via the thread
+ context class loader (TCCL), or not.org.apache.avalon.framework.logger.Logger.debug
.org.apache.avalon.framework.logger.Logger.debug
.java.util.logging.Level.FINEST
.java.util.logging.Level.FINEST
.java.util.logging.Level.FINEST
.java.util.logging.Level.FINEST
.org.apache.log4j.Priority.TRACE
.org.apache.log4j.Priority.TRACE
.org.apache.log.Priority.DEBUG
.org.apache.log.Priority.DEBUG
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE
.org.apache.avalon.framework.logger.Logger.warn
.org.apache.avalon.framework.logger.Logger.warn
.java.util.logging.Level.WARNING
.java.util.logging.Level.WARNING
.java.util.logging.Level.WARNING
.java.util.logging.Level.WARNING
.org.apache.log4j.Priority.WARN
.org.apache.log4j.Priority.WARN
.org.apache.log.Priority.WARN
.org.apache.log.Priority.WARN
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN
.org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN
.Hashtable
that uses WeakReference
's
+ to hold its keys thus allowing them to be reclaimed by the garbage collector.StringBuffer
to the appropriate output destination.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/index.html b/Client/bib/commons-logging-1.2-bin/apidocs/index.html new file mode 100755 index 0000000..c3c6475 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/index.html @@ -0,0 +1,67 @@ + + + + + +public interface Log
+LogFactory
, classes that implement
+ this interface must have a constructor that takes a single String
+ parameter representing the "name" of this Log.
+
+ The six logging levels used by Log
are (in order):
+
+ Performance is often a logging concern. + By examining the appropriate property, + a component can avoid expensive operations (producing information + to be logged). +
+ For example, +
+ if (log.isDebugEnabled()) { + ... do something expensive ... + log.debug(theResult); + } ++
+ Configuration of the underlying logging system will generally be done + external to the Logging APIs, through whatever mechanism is supported by + that system.
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Logs a message with debug log level.
+ |
+
void |
+debug(Object message,
+ Throwable t)
+Logs an error with debug log level.
+ |
+
void |
+error(Object message)
+Logs a message with error log level.
+ |
+
void |
+error(Object message,
+ Throwable t)
+Logs an error with error log level.
+ |
+
void |
+fatal(Object message)
+Logs a message with fatal log level.
+ |
+
void |
+fatal(Object message,
+ Throwable t)
+Logs an error with fatal log level.
+ |
+
void |
+info(Object message)
+Logs a message with info log level.
+ |
+
void |
+info(Object message,
+ Throwable t)
+Logs an error with info log level.
+ |
+
boolean |
+isDebugEnabled()
+Is debug logging currently enabled?
+ |
+
boolean |
+isErrorEnabled()
+Is error logging currently enabled?
+ |
+
boolean |
+isFatalEnabled()
+Is fatal logging currently enabled?
+ |
+
boolean |
+isInfoEnabled()
+Is info logging currently enabled?
+ |
+
boolean |
+isTraceEnabled()
+Is trace logging currently enabled?
+ |
+
boolean |
+isWarnEnabled()
+Is warn logging currently enabled?
+ |
+
void |
+trace(Object message)
+Logs a message with trace log level.
+ |
+
void |
+trace(Object message,
+ Throwable t)
+Logs an error with trace log level.
+ |
+
void |
+warn(Object message)
+Logs a message with warn log level.
+ |
+
void |
+warn(Object message,
+ Throwable t)
+Logs an error with warn log level.
+ |
+
void debug(Object message)+
message
- log this messagevoid debug(Object message, + Throwable t)+
message
- log this messaget
- log this causevoid error(Object message)+
message
- log this messagevoid error(Object message, + Throwable t)+
message
- log this messaget
- log this causevoid fatal(Object message)+
message
- log this messagevoid fatal(Object message, + Throwable t)+
message
- log this messaget
- log this causevoid info(Object message)+
message
- log this messagevoid info(Object message, + Throwable t)+
message
- log this messaget
- log this causeboolean isDebugEnabled()+
+ Call this method to prevent having to perform expensive operations
+ (for example, String
concatenation)
+ when the log level is more than debug.
boolean isErrorEnabled()+
+ Call this method to prevent having to perform expensive operations
+ (for example, String
concatenation)
+ when the log level is more than error.
boolean isFatalEnabled()+
+ Call this method to prevent having to perform expensive operations
+ (for example, String
concatenation)
+ when the log level is more than fatal.
boolean isInfoEnabled()+
+ Call this method to prevent having to perform expensive operations
+ (for example, String
concatenation)
+ when the log level is more than info.
boolean isTraceEnabled()+
+ Call this method to prevent having to perform expensive operations
+ (for example, String
concatenation)
+ when the log level is more than trace.
boolean isWarnEnabled()+
+ Call this method to prevent having to perform expensive operations
+ (for example, String
concatenation)
+ when the log level is more than warn.
void trace(Object message)+
message
- log this messagevoid trace(Object message, + Throwable t)+
message
- log this messaget
- log this causevoid warn(Object message)+
message
- log this messageCopyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogConfigurationException.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogConfigurationException.html new file mode 100755 index 0000000..0e77c98 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogConfigurationException.html @@ -0,0 +1,389 @@ + + + + + +public class LogConfigurationException +extends RuntimeException+
LogFactory
+ or Log
instance cannot be created by the corresponding
+ factory methods.Modifier and Type | +Field and Description | +
---|---|
protected Throwable |
+cause
+The underlying cause of this exception.
+ |
+
Constructor and Description | +
---|
LogConfigurationException()
+Construct a new exception with
+null as its detail message. |
+
LogConfigurationException(String message)
+Construct a new exception with the specified detail message.
+ |
+
LogConfigurationException(String message,
+ Throwable cause)
+Construct a new exception with the specified detail message and cause.
+ |
+
LogConfigurationException(Throwable cause)
+Construct a new exception with the specified cause and a derived
+ detail message.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Throwable |
+getCause()
+Return the underlying cause of this exception (if any).
+ |
+
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected Throwable cause+
public LogConfigurationException()+
null
as its detail message.public LogConfigurationException(String message)+
message
- The detail messagepublic LogConfigurationException(Throwable cause)+
cause
- The underlying causeCopyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogFactory.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogFactory.html new file mode 100755 index 0000000..93877cd --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogFactory.html @@ -0,0 +1,1135 @@ + + + + + +public abstract class LogFactory +extends Object+
Log
instances, with discovery and
+ configuration features similar to that employed by standard Java APIs
+ such as JAXP.
+ + IMPLEMENTATION NOTE - This implementation is heavily + based on the SAXParserFactory and DocumentBuilderFactory implementations + (corresponding to the JAXP pluggability APIs) found in Apache Xerces.
Modifier and Type | +Field and Description | +
---|---|
static String |
+DIAGNOSTICS_DEST_PROPERTY
+The name (
+org.apache.commons.logging.diagnostics.dest )
+ of the property used to enable internal commons-logging
+ diagnostic output, in order to get information on what logging
+ implementations are being discovered, what classloaders they
+ are loaded through, etc. |
+
protected static Hashtable |
+factories
+The previously constructed
+LogFactory instances, keyed by
+ the ClassLoader with which it was created. |
+
static String |
+FACTORY_DEFAULT
+The fully qualified class name of the fallback
+LogFactory
+ implementation class to use, if no other can be found. |
+
static String |
+FACTORY_PROPERTIES
+The name (
+commons-logging.properties ) of the properties file to search for. |
+
static String |
+FACTORY_PROPERTY
+The name (
+org.apache.commons.logging.LogFactory ) of the property
+ used to identify the LogFactory implementation
+ class name. |
+
static String |
+HASHTABLE_IMPLEMENTATION_PROPERTY
+Setting this system property
+ (
+org.apache.commons.logging.LogFactory.HashtableImpl )
+ value allows the Hashtable used to store
+ classloaders to be substituted by an alternative implementation. |
+
protected static LogFactory |
+nullClassLoaderFactory
+Deprecated.
+
+since 1.1.2
+ |
+
static String |
+PRIORITY_KEY
+The name (
+priority ) of the key in the config file used to
+ specify the priority of that particular config file. |
+
protected static String |
+SERVICE_ID
+JDK1.3+
+ 'Service Provider' specification.
+ |
+
static String |
+TCCL_KEY
+The name (
+use_tccl ) of the key in the config file used
+ to specify whether logging classes should be loaded via the thread
+ context class loader (TCCL), or not. |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+LogFactory()
+Protected constructor that is not available for public use.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected static Object |
+createFactory(String factoryClass,
+ ClassLoader classLoader)
+Implements the operations described in the javadoc for newFactory.
+ |
+
protected static ClassLoader |
+directGetContextClassLoader()
+Return the thread context class loader if available; otherwise return null.
+ |
+
abstract Object |
+getAttribute(String name)
+Return the configuration attribute with the specified name (if any),
+ or
+null if there is no such attribute. |
+
abstract String[] |
+getAttributeNames()
+Return an array containing the names of all currently defined
+ configuration attributes.
+ |
+
protected static ClassLoader |
+getClassLoader(Class clazz)
+Safely get access to the classloader for the specified class.
+ |
+
protected static ClassLoader |
+getContextClassLoader()
+Returns the current context classloader.
+ |
+
static LogFactory |
+getFactory()
+Construct (if necessary) and return a
+LogFactory
+ instance, using the following ordered lookup procedure to determine
+ the name of the implementation class to be loaded. |
+
abstract Log |
+getInstance(Class clazz)
+Convenience method to derive a name from the specified class and
+ call
+getInstance(String) with it. |
+
abstract Log |
+getInstance(String name)
+Construct (if necessary) and return a
+Log instance,
+ using the factory's current set of configuration attributes. |
+
static Log |
+getLog(Class clazz)
+Convenience method to return a named logger, without the application
+ having to care about factories.
+ |
+
static Log |
+getLog(String name)
+Convenience method to return a named logger, without the application
+ having to care about factories.
+ |
+
protected static void |
+handleThrowable(Throwable t)
+Checks whether the supplied Throwable is one that needs to be
+ re-thrown and ignores all others.
+ |
+
protected static boolean |
+isDiagnosticsEnabled()
+Indicates true if the user has enabled internal logging.
+ |
+
protected static void |
+logRawDiagnostic(String msg)
+Write the specified message to the internal logging destination.
+ |
+
protected static LogFactory |
+newFactory(String factoryClass,
+ ClassLoader classLoader)
+Method provided for backwards compatibility; see newFactory version that
+ takes 3 parameters.
+ |
+
protected static LogFactory |
+newFactory(String factoryClass,
+ ClassLoader classLoader,
+ ClassLoader contextClassLoader)
+Return a new instance of the specified
+LogFactory
+ implementation class, loaded by the specified class loader. |
+
static String |
+objectId(Object o)
+Returns a string that uniquely identifies the specified object, including
+ its class.
+ |
+
abstract void |
+release()
+Release any internal references to previously created
+Log
+ instances returned by this factory. |
+
static void |
+release(ClassLoader classLoader)
+Release any internal references to previously created
+LogFactory
+ instances that have been associated with the specified class loader
+ (if any), after calling the instance method release() on
+ each of them. |
+
static void |
+releaseAll()
+Release any internal references to previously created
+LogFactory
+ instances, after calling the instance method release() on
+ each of them. |
+
abstract void |
+removeAttribute(String name)
+Remove any configuration attribute associated with the specified name.
+ |
+
abstract void |
+setAttribute(String name,
+ Object value)
+Set the configuration attribute with the specified name.
+ |
+
public static final String PRIORITY_KEY+
priority
) of the key in the config file used to
+ specify the priority of that particular config file. The associated value
+ is a floating-point number; higher values take priority over lower values.public static final String TCCL_KEY+
use_tccl
) of the key in the config file used
+ to specify whether logging classes should be loaded via the thread
+ context class loader (TCCL), or not. By default, the TCCL is used.public static final String FACTORY_PROPERTY+
org.apache.commons.logging.LogFactory
) of the property
+ used to identify the LogFactory implementation
+ class name. This can be used as a system property, or as an entry in a
+ configuration properties file.public static final String FACTORY_DEFAULT+
LogFactory
+ implementation class to use, if no other can be found.public static final String FACTORY_PROPERTIES+
commons-logging.properties
) of the properties file to search for.protected static final String SERVICE_ID+
public static final String DIAGNOSTICS_DEST_PROPERTY+
org.apache.commons.logging.diagnostics.dest
)
+ of the property used to enable internal commons-logging
+ diagnostic output, in order to get information on what logging
+ implementations are being discovered, what classloaders they
+ are loaded through, etc.
+ + If a system property of this name is set then the value is + assumed to be the name of a file. The special strings + STDOUT or STDERR (case-sensitive) indicate output to + System.out and System.err respectively. +
+ Diagnostic logging should be used only to debug problematic + configurations and should not be set in normal production use.
public static final String HASHTABLE_IMPLEMENTATION_PROPERTY+
org.apache.commons.logging.LogFactory.HashtableImpl
)
+ value allows the Hashtable
used to store
+ classloaders to be substituted by an alternative implementation.
+
+ Note: LogFactory
will print:
+
+ [ERROR] LogFactory: Load of custom hashtable failed ++ to system error and then continue using a standard Hashtable. +
+ Usage: Set this property when Java is invoked
+ and LogFactory
will attempt to load a new instance
+ of the given implementation class.
+ For example, running the following ant scriplet:
+
+ <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}"> + ... + <sysproperty + key="org.apache.commons.logging.LogFactory.HashtableImpl" + value="org.apache.commons.logging.AltHashtable"/> + </java> ++ will mean that
LogFactory
will load an instance of
+ org.apache.commons.logging.AltHashtable
.
+ + A typical use case is to allow a custom + Hashtable implementation using weak references to be substituted. + This will allow classloaders to be garbage collected without + the need to release them (on 1.3+ JVMs only, of course ;).
protected static Hashtable factories+
LogFactory
instances, keyed by
+ the ClassLoader
with which it was created.protected static volatile LogFactory nullClassLoaderFactory+
LogFactory
instance as in the
+ factories
map, but for the case where
+ getClassLoader
returns null
.
+ This can happen when:
+ factories
is a Hashtable (not a HashMap),
+ and hashtables don't allow null as a key.protected LogFactory()+
public abstract Object getAttribute(String name)+
null
if there is no such attribute.name
- Name of the attribute to returnpublic abstract String[] getAttributeNames()+
public abstract Log getInstance(Class clazz) + throws LogConfigurationException+
getInstance(String)
with it.clazz
- Class for which a suitable Log name will be derivedLogConfigurationException
- if a suitable Log
+ instance cannot be returnedpublic abstract Log getInstance(String name) + throws LogConfigurationException+
Log
instance,
+ using the factory's current set of configuration attributes.
+
+ NOTE - Depending upon the implementation of
+ the LogFactory
you are using, the Log
+ instance you are returned may or may not be local to the current
+ application, and may or may not be returned again on a subsequent
+ call with the same name argument.
name
- Logical name of the Log
instance to be
+ returned (the meaning of this name is only known to the underlying
+ logging implementation that is being wrapped)LogConfigurationException
- if a suitable Log
+ instance cannot be returnedpublic abstract void release()+
Log
+ instances returned by this factory. This is useful in environments
+ like servlet containers, which implement application reloading by
+ throwing away a ClassLoader. Dangling references to objects in that
+ class loader would prevent garbage collection.public abstract void removeAttribute(String name)+
name
- Name of the attribute to removepublic abstract void setAttribute(String name, + Object value)+
null
value is equivalent to calling
+ removeAttribute(name)
.name
- Name of the attribute to setvalue
- Value of the attribute to set, or null
+ to remove any setting for this attributeprotected static void handleThrowable(Throwable t)+
t
- the Throwable to checkpublic static LogFactory getFactory() + throws LogConfigurationException+
LogFactory
+ instance, using the following ordered lookup procedure to determine
+ the name of the implementation class to be loaded.
+ +
org.apache.commons.logging.LogFactory
system
+ property.commons-logging.properties
+ file, if found in the class path of this class. The configuration
+ file is in standard java.util.Properties
format and
+ contains the fully qualified name of the implementation class
+ with the key being the system property defined above.org.apache.commons.logging.impl.LogFactoryImpl
).
+ NOTE - If the properties file method of identifying the
+ LogFactory
implementation class is utilized, all of the
+ properties defined in this file will be set as configuration attributes
+ on the corresponding LogFactory
instance.
+
+ NOTE - In a multi-threaded environment it is possible + that two different instances will be returned for the same + classloader environment.
LogConfigurationException
- if the implementation class is not
+ available or cannot be instantiated.public static Log getLog(Class clazz) + throws LogConfigurationException+
clazz
- Class from which a log name will be derivedLogConfigurationException
- if a suitable Log
+ instance cannot be returnedpublic static Log getLog(String name) + throws LogConfigurationException+
name
- Logical name of the Log
instance to be
+ returned (the meaning of this name is only known to the underlying
+ logging implementation that is being wrapped)LogConfigurationException
- if a suitable Log
+ instance cannot be returnedpublic static void release(ClassLoader classLoader)+
LogFactory
+ instances that have been associated with the specified class loader
+ (if any), after calling the instance method release()
on
+ each of them.classLoader
- ClassLoader for which to release the LogFactorypublic static void releaseAll()+
LogFactory
+ instances, after calling the instance method release()
on
+ each of them. This is useful in environments like servlet containers,
+ which implement application reloading by throwing away a ClassLoader.
+ Dangling references to objects in that class loader would prevent
+ garbage collection.protected static ClassLoader getClassLoader(Class clazz)+
+ Theoretically, calling getClassLoader can throw a security exception, + and so should be done under an AccessController in order to provide + maximum flexibility. However in practice people don't appear to use + security policies that forbid getClassLoader calls. So for the moment + all code is written to call this method rather than Class.getClassLoader, + so that we could put AccessController stuff in this method without any + disruption later if we need to. +
+ Even when using an AccessController, however, this method can still + throw SecurityException. Commons-logging basically relies on the + ability to access classloaders, ie a policy that forbids all + classloader access will also prevent commons-logging from working: + currently this method will throw an exception preventing the entire app + from starting up. Maybe it would be good to detect this situation and + just disable all commons-logging? Not high priority though - as stated + above, security policies that prevent classloader access aren't common. +
+ Note that returning an object fetched via an AccessController would + technically be a security flaw anyway; untrusted code that has access + to a trusted JCL library could use it to fetch the classloader for + a class even when forbidden to do so directly.
protected static ClassLoader getContextClassLoader() + throws LogConfigurationException+
+ In versions prior to 1.1, this method did not use an AccessController. + In version 1.1, an AccessController wrapper was incorrectly added to + this method, causing a minor security flaw. +
+ In version 1.1.1 this change was reverted; this method no longer uses + an AccessController. User code wishing to obtain the context classloader + must invoke this method via AccessController.doPrivileged if it needs + support for that.
LogConfigurationException
- if there was some weird error while
+ attempting to get the context classloader.protected static ClassLoader directGetContextClassLoader() + throws LogConfigurationException+
+ Most/all code should call getContextClassLoaderInternal rather than + calling this method directly. +
+ The thread context class loader is available for JDK 1.2 + or later, if certain security conditions are met. +
+ Note that no internal logging is done within this method because + this method is called every time LogFactory.getLogger() is called, + and we don't want too much output generated here.
null
if the java security
+ policy forbids access to the context classloader from one of the classes
+ in the current call stack.LogConfigurationException
- if a suitable class loader
+ cannot be identified.protected static LogFactory newFactory(String factoryClass, + ClassLoader classLoader, + ClassLoader contextClassLoader) + throws LogConfigurationException+
LogFactory
+ implementation class, loaded by the specified class loader.
+ If that fails, try the class loader used to load this
+ (abstract) LogFactory.
+ + Note that there can be problems if the specified ClassLoader is not the + same as the classloader that loaded this class, ie when loading a + concrete LogFactory subclass via a context classloader. +
+ The problem is the same one that can occur when loading a concrete Log + subclass via a context classloader. +
+ The problem occurs when code running in the context classloader calls + class X which was loaded via a parent classloader, and class X then calls + LogFactory.getFactory (either directly or via LogFactory.getLog). Because + class X was loaded via the parent, it binds to LogFactory loaded via + the parent. When the code in this method finds some LogFactoryYYYY + class in the child (context) classloader, and there also happens to be a + LogFactory class defined in the child classloader, then LogFactoryYYYY + will be bound to LogFactory@childloader. It cannot be cast to + LogFactory@parentloader, ie this method cannot return the object as + the desired type. Note that it doesn't matter if the LogFactory class + in the child classloader is identical to the LogFactory class in the + parent classloader, they are not compatible. +
+ The solution taken here is to simply print out an error message when + this occurs then throw an exception. The deployer of the application + must ensure they remove all occurrences of the LogFactory class from + the child classloader in order to resolve the issue. Note that they + do not have to move the custom LogFactory subclass; that is ok as + long as the only LogFactory class it can find to bind to is in the + parent classloader.
factoryClass
- Fully qualified name of the LogFactory
+ implementation classclassLoader
- ClassLoader from which to load this classcontextClassLoader
- is the context that this new factory will
+ manage logging for.LogConfigurationException
- if a suitable instance
+ cannot be createdprotected static LogFactory newFactory(String factoryClass, + ClassLoader classLoader)+
+ This method would only ever be called in some rather odd situation. + Note that this method is static, so overriding in a subclass doesn't + have any effect unless this method is called from a method in that + subclass. However this method only makes sense to use from the + getFactory method, and as that is almost always invoked via + LogFactory.getFactory, any custom definition in a subclass would be + pointless. Only a class with a custom getFactory method, then invoked + directly via CustomFactoryImpl.getFactory or similar would ever call + this. Anyway, it's here just in case, though the "managed class loader" + value output to the diagnostics will not report the correct value.
protected static Object createFactory(String factoryClass, + ClassLoader classLoader)+
factoryClass
- classLoader
- used to load the specified factory class. This is
+ expected to be either the TCCL or the classloader which loaded this
+ class. Note that the classloader which loaded this class might be
+ "null" (ie the bootloader) for embedded systems.protected static boolean isDiagnosticsEnabled()+
+ By the way, sorry for the incorrect grammar, but calling this method + areDiagnosticsEnabled just isn't java beans style.
protected static final void logRawDiagnostic(String msg)+
msg
- is the diagnostic message to be output.public static String objectId(Object o)+
+ The returned string is of form "classname@hashcode", ie is the same as + the return value of the Object.toString() method, but works even when + the specified object's class has overidden the toString method.
o
- may be null.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogSource.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogSource.html new file mode 100755 index 0000000..1ed032a --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/LogSource.html @@ -0,0 +1,478 @@ + + + + + +LogFactory
instead - The default factory
+ implementation performs exactly the same algorithm as this class didpublic class LogSource +extends Object+
Log
instances. Applications should call
+ the makeNewLogInstance()
method to instantiate new instances
+ of the configured Log
implementation class.
+
+ By default, calling getInstance()
will use the following
+ algorithm:
+
org.apache.commons.logging.impl.Log4JLogger
.org.apache.commons.logging.impl.Jdk14Logger
.org.apache.commons.logging.impl.NoOpLog
.+ You can change the default behavior in one of two ways: +
org.apache.commons.logging.log
to the name of the
+ org.apache.commons.logging.Log
implementation class
+ you want to use.LogSource.setLogImplementation()
.Modifier and Type | +Field and Description | +
---|---|
protected static boolean |
+jdk14IsAvailable
+Deprecated.
+Is JDK 1.4 logging available
+ |
+
protected static boolean |
+log4jIsAvailable
+Deprecated.
+Is log4j available (in the current classpath)
+ |
+
protected static Constructor |
+logImplctor
+Deprecated.
+Constructor for current log class
+ |
+
protected static Hashtable |
+logs
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static Log |
+getInstance(Class clazz)
+Deprecated.
+Get a
+Log instance by class. |
+
static Log |
+getInstance(String name)
+Deprecated.
+Get a
+Log instance by class name. |
+
static String[] |
+getLogNames()
+Deprecated.
+Returns a
+String array containing the names of
+ all logs known to me. |
+
static Log |
+makeNewLogInstance(String name)
+Deprecated.
+Create a new
+Log implementation, based on the given name. |
+
static void |
+setLogImplementation(Class logclass)
+Deprecated.
+Set the log implementation/log implementation factory by class.
+ |
+
static void |
+setLogImplementation(String classname)
+Deprecated.
+Set the log implementation/log implementation factory
+ by the name of the class.
+ |
+
protected static Hashtable logs+
protected static boolean log4jIsAvailable+
protected static boolean jdk14IsAvailable+
protected static Constructor logImplctor+
public static void setLogImplementation(String classname) + throws LinkageError, + NoSuchMethodException, + SecurityException, + ClassNotFoundException+
public static void setLogImplementation(Class logclass) + throws LinkageError, + ExceptionInInitializerError, + NoSuchMethodException, + SecurityException+
public static Log getInstance(String name)+
Log
instance by class name.public static Log getInstance(Class clazz)+
Log
instance by class.public static Log makeNewLogInstance(String name)+
Log
implementation, based on the given name.
+
+ The specific Log
implementation returned is determined by the
+ value of the org.apache.commons.logging.log property. The value
+ of org.apache.commons.logging.log may be set to the fully specified
+ name of a class that implements the Log
interface. This class must
+ also have a public constructor that takes a single String
argument
+ (containing the name of the Log
to be constructed.
+
+ When org.apache.commons.logging.log is not set, or when no corresponding
+ class can be found, this method will return a Log4JLogger if the log4j Logger
+ class is available in the LogSource
's classpath, or a Jdk14Logger if we
+ are on a JDK 1.4 or later system, or NoOpLog if neither of the above conditions is true.
name
- the log name (or category)Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/Log.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/Log.html new file mode 100755 index 0000000..e40b417 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/Log.html @@ -0,0 +1,303 @@ + + + + + +Package | +Description | +
---|---|
org.apache.commons.logging | +
+ Simple wrapper API around multiple logging APIs.
+ |
+
org.apache.commons.logging.impl | +
+ Concrete implementations of commons-logging wrapper APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
abstract Log |
+LogFactory.getInstance(Class clazz)
+Convenience method to derive a name from the specified class and
+ call
+getInstance(String) with it. |
+
static Log |
+LogSource.getInstance(Class clazz)
+Deprecated.
+Get a
+Log instance by class. |
+
abstract Log |
+LogFactory.getInstance(String name)
+Construct (if necessary) and return a
+Log instance,
+ using the factory's current set of configuration attributes. |
+
static Log |
+LogSource.getInstance(String name)
+Deprecated.
+Get a
+Log instance by class name. |
+
static Log |
+LogFactory.getLog(Class clazz)
+Convenience method to return a named logger, without the application
+ having to care about factories.
+ |
+
static Log |
+LogFactory.getLog(String name)
+Convenience method to return a named logger, without the application
+ having to care about factories.
+ |
+
static Log |
+LogSource.makeNewLogInstance(String name)
+Deprecated.
+Create a new
+Log implementation, based on the given name. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AvalonLogger
+Implementation of commons-logging Log interface that delegates all
+ logging calls to the Avalon logging abstraction: the Logger interface.
+ |
+
class |
+Jdk13LumberjackLogger
+Implementation of the
+org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that are
+ available in SourceForge's Lumberjack for JDKs prior to 1.4. |
+
class |
+Jdk14Logger
+Implementation of the
+org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that were
+ introduced in the Merlin release (JDK 1.4). |
+
class |
+Log4JLogger
+Implementation of
+Log that maps directly to a
+ Logger for log4J version 1.2. |
+
class |
+LogKitLogger
+Implementation of
+org.apache.commons.logging.Log
+ that wraps the avalon-logkit
+ logging system. |
+
class |
+NoOpLog
+Trivial implementation of Log that throws away all messages.
+ |
+
class |
+SimpleLog
+Simple implementation of Log that sends all enabled log messages,
+ for all defined loggers, to System.err.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Log |
+LogFactoryImpl.getInstance(Class clazz)
+Convenience method to derive a name from the specified class and
+ call
+getInstance(String) with it. |
+
Log |
+LogFactoryImpl.getInstance(String name)
+Construct (if necessary) and return a
+Log instance,
+ using the factory's current set of configuration attributes. |
+
protected Log |
+LogFactoryImpl.newInstance(String name)
+Create and return a new
+Log
+ instance for the specified name. |
+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogConfigurationException.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogConfigurationException.html new file mode 100755 index 0000000..543341c --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogConfigurationException.html @@ -0,0 +1,266 @@ + + + + + +Package | +Description | +
---|---|
org.apache.commons.logging | +
+ Simple wrapper API around multiple logging APIs.
+ |
+
org.apache.commons.logging.impl | +
+ Concrete implementations of commons-logging wrapper APIs.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected static ClassLoader |
+LogFactory.directGetContextClassLoader()
+Return the thread context class loader if available; otherwise return null.
+ |
+
protected static ClassLoader |
+LogFactory.getContextClassLoader()
+Returns the current context classloader.
+ |
+
static LogFactory |
+LogFactory.getFactory()
+Construct (if necessary) and return a
+LogFactory
+ instance, using the following ordered lookup procedure to determine
+ the name of the implementation class to be loaded. |
+
abstract Log |
+LogFactory.getInstance(Class clazz)
+Convenience method to derive a name from the specified class and
+ call
+getInstance(String) with it. |
+
abstract Log |
+LogFactory.getInstance(String name)
+Construct (if necessary) and return a
+Log instance,
+ using the factory's current set of configuration attributes. |
+
static Log |
+LogFactory.getLog(Class clazz)
+Convenience method to return a named logger, without the application
+ having to care about factories.
+ |
+
static Log |
+LogFactory.getLog(String name)
+Convenience method to return a named logger, without the application
+ having to care about factories.
+ |
+
protected static LogFactory |
+LogFactory.newFactory(String factoryClass,
+ ClassLoader classLoader,
+ ClassLoader contextClassLoader)
+Return a new instance of the specified
+LogFactory
+ implementation class, loaded by the specified class loader. |
+
Modifier and Type | +Method and Description | +
---|---|
protected static ClassLoader |
+LogFactoryImpl.getContextClassLoader()
+Gets the context classloader.
+ |
+
Log |
+LogFactoryImpl.getInstance(Class clazz)
+Convenience method to derive a name from the specified class and
+ call
+getInstance(String) with it. |
+
Log |
+LogFactoryImpl.getInstance(String name)
+Construct (if necessary) and return a
+Log instance,
+ using the factory's current set of configuration attributes. |
+
protected Constructor |
+LogFactoryImpl.getLogConstructor()
+Deprecated.
+
+Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
protected Log |
+LogFactoryImpl.newInstance(String name)
+Create and return a new
+Log
+ instance for the specified name. |
+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogFactory.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogFactory.html new file mode 100755 index 0000000..a067ec9 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogFactory.html @@ -0,0 +1,236 @@ + + + + + +Package | +Description | +
---|---|
org.apache.commons.logging | +
+ Simple wrapper API around multiple logging APIs.
+ |
+
org.apache.commons.logging.impl | +
+ Concrete implementations of commons-logging wrapper APIs.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected static LogFactory |
+LogFactory.nullClassLoaderFactory
+Deprecated.
+
+since 1.1.2
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static LogFactory |
+LogFactory.getFactory()
+Construct (if necessary) and return a
+LogFactory
+ instance, using the following ordered lookup procedure to determine
+ the name of the implementation class to be loaded. |
+
protected static LogFactory |
+LogFactory.newFactory(String factoryClass,
+ ClassLoader classLoader)
+Method provided for backwards compatibility; see newFactory version that
+ takes 3 parameters.
+ |
+
protected static LogFactory |
+LogFactory.newFactory(String factoryClass,
+ ClassLoader classLoader,
+ ClassLoader contextClassLoader)
+Return a new instance of the specified
+LogFactory
+ implementation class, loaded by the specified class loader. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+LogFactoryImpl
+Concrete subclass of
+LogFactory that implements the
+ following algorithm to dynamically select a logging implementation
+ class to instantiate a wrapper for:
+
+ Use a factory configuration attribute named
+ org.apache.commons.logging.Log to identify the
+ requested implementation class.
+ Use the org.apache.commons.logging.Log system property
+ to identify the requested implementation class.
+ If Log4J is available, return an instance of
+ org.apache.commons.logging.impl.Log4JLogger .
+ If JDK 1.4 or later is available, return an instance of
+ org.apache.commons.logging.impl.Jdk14Logger .
+ Otherwise, return an instance of
+ org.apache.commons.logging.impl.SimpleLog .
+ |
+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogSource.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogSource.html new file mode 100755 index 0000000..b965231 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/class-use/LogSource.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/AvalonLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/AvalonLogger.html new file mode 100755 index 0000000..f8d1b6d --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/AvalonLogger.html @@ -0,0 +1,706 @@ + + + + + +public class AvalonLogger +extends Object +implements Log+
+ There are two ways in which this class can be used: +
AvalonLogger(Logger)
). In this case, it acts
+ as a simple thin wrapping implementation over the logger. This is
+ particularly useful when using a property setter.
+ setDefaultLogger(org.apache.avalon.framework.logger.Logger)
class property can be called which
+ sets the ancestral Avalon logger for this class. Any AvalonLogger
+ instances created through the LogFactory
mechanisms will output
+ to child loggers of this Logger
.
+
+ Note: AvalonLogger
does not implement Serializable
+ because the constructors available for it make this impossible to achieve in all
+ circumstances; there is no way to "reconnect" to an underlying Logger object on
+ deserialization if one was just passed in to the constructor of the original
+ object. This class was marked Serializable in the 1.0.4 release of
+ commons-logging, but this never actually worked (a NullPointerException would
+ be thrown as soon as the deserialized object was used), so removing this marker
+ is not considered to be an incompatible change.
Constructor and Description | +
---|
AvalonLogger(org.apache.avalon.framework.logger.Logger logger)
+Constructs an
+AvalonLogger that outputs to the given
+ Logger instance. |
+
AvalonLogger(String name)
+Constructs an
+AvalonLogger that will log to a child
+ of the Logger set by calling setDefaultLogger(org.apache.avalon.framework.logger.Logger) . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.debug . |
+
void |
+debug(Object message,
+ Throwable t)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.debug . |
+
void |
+error(Object message)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.error . |
+
void |
+error(Object message,
+ Throwable t)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.error . |
+
void |
+fatal(Object message)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.fatalError . |
+
void |
+fatal(Object message,
+ Throwable t)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.fatalError . |
+
org.apache.avalon.framework.logger.Logger |
+getLogger()
+Gets the Avalon logger implementation used to perform logging.
+ |
+
void |
+info(Object message)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.info . |
+
void |
+info(Object message,
+ Throwable t)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.info . |
+
boolean |
+isDebugEnabled()
+Is logging to
+org.apache.avalon.framework.logger.Logger.debug enabled? |
+
boolean |
+isErrorEnabled()
+Is logging to
+org.apache.avalon.framework.logger.Logger.error enabled? |
+
boolean |
+isFatalEnabled()
+Is logging to
+org.apache.avalon.framework.logger.Logger.fatalError enabled? |
+
boolean |
+isInfoEnabled()
+Is logging to
+org.apache.avalon.framework.logger.Logger.info enabled? |
+
boolean |
+isTraceEnabled()
+Is logging to
+org.apache.avalon.framework.logger.Logger.debug enabled? |
+
boolean |
+isWarnEnabled()
+Is logging to
+org.apache.avalon.framework.logger.Logger.warn enabled? |
+
static void |
+setDefaultLogger(org.apache.avalon.framework.logger.Logger logger)
+Sets the ancestral Avalon logger from which the delegating loggers will descend.
+ |
+
void |
+trace(Object message)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.debug . |
+
void |
+trace(Object message,
+ Throwable t)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.debug . |
+
void |
+warn(Object message)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.warn . |
+
void |
+warn(Object message,
+ Throwable t)
+Logs a message with
+org.apache.avalon.framework.logger.Logger.warn . |
+
public AvalonLogger(org.apache.avalon.framework.logger.Logger logger)+
AvalonLogger
that outputs to the given
+ Logger
instance.logger
- the Avalon logger implementation to delegate topublic AvalonLogger(String name)+
AvalonLogger
that will log to a child
+ of the Logger
set by calling setDefaultLogger(org.apache.avalon.framework.logger.Logger)
.name
- the name of the avalon logger implementation to delegate topublic org.apache.avalon.framework.logger.Logger getLogger()+
public static void setDefaultLogger(org.apache.avalon.framework.logger.Logger logger)+
logger
- the default avalon logger,
+ in case there is no logger instance supplied in constructorpublic void debug(Object message, + Throwable t)+
org.apache.avalon.framework.logger.Logger.debug
.debug
in interface Log
message
- to logt
- log this causeLog.debug(Object, Throwable)
public void debug(Object message)+
org.apache.avalon.framework.logger.Logger.debug
.debug
in interface Log
message
- to log.Log.debug(Object)
public void error(Object message, + Throwable t)+
org.apache.avalon.framework.logger.Logger.error
.error
in interface Log
message
- to logt
- log this causeLog.error(Object, Throwable)
public void error(Object message)+
org.apache.avalon.framework.logger.Logger.error
.error
in interface Log
message
- to logLog.error(Object)
public void fatal(Object message, + Throwable t)+
org.apache.avalon.framework.logger.Logger.fatalError
.fatal
in interface Log
message
- to log.t
- log this cause.Log.fatal(Object, Throwable)
public void fatal(Object message)+
org.apache.avalon.framework.logger.Logger.fatalError
.fatal
in interface Log
message
- to logLog.fatal(Object)
public void info(Object message, + Throwable t)+
org.apache.avalon.framework.logger.Logger.info
.info
in interface Log
message
- to logt
- log this causeLog.info(Object, Throwable)
public void info(Object message)+
org.apache.avalon.framework.logger.Logger.info
.info
in interface Log
message
- to logLog.info(Object)
public boolean isDebugEnabled()+
org.apache.avalon.framework.logger.Logger.debug
enabled?isDebugEnabled
in interface Log
Log.isDebugEnabled()
public boolean isErrorEnabled()+
org.apache.avalon.framework.logger.Logger.error
enabled?isErrorEnabled
in interface Log
Log.isErrorEnabled()
public boolean isFatalEnabled()+
org.apache.avalon.framework.logger.Logger.fatalError
enabled?isFatalEnabled
in interface Log
Log.isFatalEnabled()
public boolean isInfoEnabled()+
org.apache.avalon.framework.logger.Logger.info
enabled?isInfoEnabled
in interface Log
Log.isInfoEnabled()
public boolean isTraceEnabled()+
org.apache.avalon.framework.logger.Logger.debug
enabled?isTraceEnabled
in interface Log
Log.isTraceEnabled()
public boolean isWarnEnabled()+
org.apache.avalon.framework.logger.Logger.warn
enabled?isWarnEnabled
in interface Log
Log.isWarnEnabled()
public void trace(Object message, + Throwable t)+
org.apache.avalon.framework.logger.Logger.debug
.trace
in interface Log
message
- to log.t
- log this cause.Log.trace(Object, Throwable)
public void trace(Object message)+
org.apache.avalon.framework.logger.Logger.debug
.trace
in interface Log
message
- to logLog.trace(Object)
public void warn(Object message, + Throwable t)+
org.apache.avalon.framework.logger.Logger.warn
.warn
in interface Log
message
- to logt
- log this causeLog.warn(Object, Throwable)
public void warn(Object message)+
org.apache.avalon.framework.logger.Logger.warn
.warn
in interface Log
message
- to logLog.warn(Object)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Jdk13LumberjackLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Jdk13LumberjackLogger.html new file mode 100755 index 0000000..efad2f6 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Jdk13LumberjackLogger.html @@ -0,0 +1,720 @@ + + + + + +public class Jdk13LumberjackLogger +extends Object +implements Log, Serializable+
org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that are
+ available in SourceForge's Lumberjack for JDKs prior to 1.4.Modifier and Type | +Field and Description | +
---|---|
protected static Level |
+dummyLevel
+This member variable simply ensures that any attempt to initialise
+ this class in a pre-1.4 JVM will result in an ExceptionInInitializerError.
+ |
+
protected Logger |
+logger
+The underlying Logger implementation we are using.
+ |
+
protected String |
+name |
+
Constructor and Description | +
---|
Jdk13LumberjackLogger(String name)
+Construct a named instance of this Logger.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Logs a message with
+java.util.logging.Level.FINE . |
+
void |
+debug(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.FINE . |
+
void |
+error(Object message)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
void |
+error(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
void |
+fatal(Object message)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
void |
+fatal(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
Logger |
+getLogger()
+Return the native Logger instance we are using.
+ |
+
void |
+info(Object message)
+Logs a message with
+java.util.logging.Level.INFO . |
+
void |
+info(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.INFO . |
+
boolean |
+isDebugEnabled()
+Is debug logging currently enabled?
+ |
+
boolean |
+isErrorEnabled()
+Is error logging currently enabled?
+ |
+
boolean |
+isFatalEnabled()
+Is fatal logging currently enabled?
+ |
+
boolean |
+isInfoEnabled()
+Is info logging currently enabled?
+ |
+
boolean |
+isTraceEnabled()
+Is trace logging currently enabled?
+ |
+
boolean |
+isWarnEnabled()
+Is warn logging currently enabled?
+ |
+
void |
+trace(Object message)
+Logs a message with
+java.util.logging.Level.FINEST . |
+
void |
+trace(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.FINEST . |
+
void |
+warn(Object message)
+Logs a message with
+java.util.logging.Level.WARNING . |
+
void |
+warn(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.WARNING . |
+
protected transient Logger logger+
protected String name+
protected static final Level dummyLevel+
public Jdk13LumberjackLogger(String name)+
name
- Name of the logger to be constructedpublic void debug(Object message)+
java.util.logging.Level.FINE
.debug
in interface Log
message
- to logLog.debug(Object)
public void debug(Object message, + Throwable exception)+
java.util.logging.Level.FINE
.debug
in interface Log
message
- to logexception
- log this causeLog.debug(Object, Throwable)
public void error(Object message)+
java.util.logging.Level.SEVERE
.error
in interface Log
message
- to logLog.error(Object)
public void error(Object message, + Throwable exception)+
java.util.logging.Level.SEVERE
.error
in interface Log
message
- to logexception
- log this causeLog.error(Object, Throwable)
public void fatal(Object message)+
java.util.logging.Level.SEVERE
.fatal
in interface Log
message
- to logLog.fatal(Object)
public void fatal(Object message, + Throwable exception)+
java.util.logging.Level.SEVERE
.fatal
in interface Log
message
- to logexception
- log this causeLog.fatal(Object, Throwable)
public Logger getLogger()+
public void info(Object message)+
java.util.logging.Level.INFO
.info
in interface Log
message
- to logLog.info(Object)
public void info(Object message, + Throwable exception)+
java.util.logging.Level.INFO
.info
in interface Log
message
- to logexception
- log this causeLog.info(Object, Throwable)
public boolean isDebugEnabled()+
isDebugEnabled
in interface Log
public boolean isErrorEnabled()+
isErrorEnabled
in interface Log
public boolean isFatalEnabled()+
isFatalEnabled
in interface Log
public boolean isInfoEnabled()+
isInfoEnabled
in interface Log
public boolean isTraceEnabled()+
isTraceEnabled
in interface Log
public boolean isWarnEnabled()+
isWarnEnabled
in interface Log
public void trace(Object message)+
java.util.logging.Level.FINEST
.trace
in interface Log
message
- to logLog.trace(Object)
public void trace(Object message, + Throwable exception)+
java.util.logging.Level.FINEST
.trace
in interface Log
message
- to logexception
- log this causeLog.trace(Object, Throwable)
public void warn(Object message)+
java.util.logging.Level.WARNING
.warn
in interface Log
message
- to logLog.warn(Object)
public void warn(Object message, + Throwable exception)+
java.util.logging.Level.WARNING
.warn
in interface Log
message
- to logexception
- log this causeLog.warn(Object, Throwable)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Jdk14Logger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Jdk14Logger.html new file mode 100755 index 0000000..6e0a507 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Jdk14Logger.html @@ -0,0 +1,738 @@ + + + + + +public class Jdk14Logger +extends Object +implements Log, Serializable+
org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that were
+ introduced in the Merlin release (JDK 1.4).Modifier and Type | +Field and Description | +
---|---|
protected static Level |
+dummyLevel
+This member variable simply ensures that any attempt to initialise
+ this class in a pre-1.4 JVM will result in an ExceptionInInitializerError.
+ |
+
protected Logger |
+logger
+The underlying Logger implementation we are using.
+ |
+
protected String |
+name
+The name of the logger we are wrapping.
+ |
+
Constructor and Description | +
---|
Jdk14Logger(String name)
+Construct a named instance of this Logger.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Logs a message with
+java.util.logging.Level.FINE . |
+
void |
+debug(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.FINE . |
+
void |
+error(Object message)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
void |
+error(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
void |
+fatal(Object message)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
void |
+fatal(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.SEVERE . |
+
Logger |
+getLogger()
+Return the native Logger instance we are using.
+ |
+
void |
+info(Object message)
+Logs a message with
+java.util.logging.Level.INFO . |
+
void |
+info(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.INFO . |
+
boolean |
+isDebugEnabled()
+Is debug logging currently enabled?
+ |
+
boolean |
+isErrorEnabled()
+Is error logging currently enabled?
+ |
+
boolean |
+isFatalEnabled()
+Is fatal logging currently enabled?
+ |
+
boolean |
+isInfoEnabled()
+Is info logging currently enabled?
+ |
+
boolean |
+isTraceEnabled()
+Is trace logging currently enabled?
+ |
+
boolean |
+isWarnEnabled()
+Is warn logging currently enabled?
+ |
+
protected void |
+log(Level level,
+ String msg,
+ Throwable ex) |
+
void |
+trace(Object message)
+Logs a message with
+java.util.logging.Level.FINEST . |
+
void |
+trace(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.FINEST . |
+
void |
+warn(Object message)
+Logs a message with
+java.util.logging.Level.WARNING . |
+
void |
+warn(Object message,
+ Throwable exception)
+Logs a message with
+java.util.logging.Level.WARNING . |
+
protected static final Level dummyLevel+
protected transient Logger logger+
protected String name+
public Jdk14Logger(String name)+
name
- Name of the logger to be constructedpublic void debug(Object message)+
java.util.logging.Level.FINE
.debug
in interface Log
message
- to logLog.debug(Object)
public void debug(Object message, + Throwable exception)+
java.util.logging.Level.FINE
.debug
in interface Log
message
- to logexception
- log this causeLog.debug(Object, Throwable)
public void error(Object message)+
java.util.logging.Level.SEVERE
.error
in interface Log
message
- to logLog.error(Object)
public void error(Object message, + Throwable exception)+
java.util.logging.Level.SEVERE
.error
in interface Log
message
- to logexception
- log this causeLog.error(Object, Throwable)
public void fatal(Object message)+
java.util.logging.Level.SEVERE
.fatal
in interface Log
message
- to logLog.fatal(Object)
public void fatal(Object message, + Throwable exception)+
java.util.logging.Level.SEVERE
.fatal
in interface Log
message
- to logexception
- log this causeLog.fatal(Object, Throwable)
public Logger getLogger()+
public void info(Object message)+
java.util.logging.Level.INFO
.info
in interface Log
message
- to logLog.info(Object)
public void info(Object message, + Throwable exception)+
java.util.logging.Level.INFO
.info
in interface Log
message
- to logexception
- log this causeLog.info(Object, Throwable)
public boolean isDebugEnabled()+
isDebugEnabled
in interface Log
public boolean isErrorEnabled()+
isErrorEnabled
in interface Log
public boolean isFatalEnabled()+
isFatalEnabled
in interface Log
public boolean isInfoEnabled()+
isInfoEnabled
in interface Log
public boolean isTraceEnabled()+
isTraceEnabled
in interface Log
public boolean isWarnEnabled()+
isWarnEnabled
in interface Log
public void trace(Object message)+
java.util.logging.Level.FINEST
.trace
in interface Log
message
- to logLog.trace(Object)
public void trace(Object message, + Throwable exception)+
java.util.logging.Level.FINEST
.trace
in interface Log
message
- to logexception
- log this causeLog.trace(Object, Throwable)
public void warn(Object message)+
java.util.logging.Level.WARNING
.warn
in interface Log
message
- to logLog.warn(Object)
public void warn(Object message, + Throwable exception)+
java.util.logging.Level.WARNING
.warn
in interface Log
message
- to logexception
- log this causeLog.warn(Object, Throwable)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Log4JLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Log4JLogger.html new file mode 100755 index 0000000..7b0fb52 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/Log4JLogger.html @@ -0,0 +1,690 @@ + + + + + +public class Log4JLogger +extends Object +implements Log, Serializable+
Log
that maps directly to a
+ Logger for log4J version 1.2.
+ + Initial configuration of the corresponding Logger instances should be done + in the usual manner, as outlined in the Log4J documentation. +
+ The reason this logger is distinct from the 1.3 logger is that in version 1.2 + of Log4J: +
Constructor and Description | +
---|
Log4JLogger() |
+
Log4JLogger(org.apache.log4j.Logger logger)
+For use with a log4j factory.
+ |
+
Log4JLogger(String name)
+Base constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Logs a message with
+org.apache.log4j.Priority.DEBUG . |
+
void |
+debug(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log4j.Priority.DEBUG . |
+
void |
+error(Object message)
+Logs a message with
+org.apache.log4j.Priority.ERROR . |
+
void |
+error(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log4j.Priority.ERROR . |
+
void |
+fatal(Object message)
+Logs a message with
+org.apache.log4j.Priority.FATAL . |
+
void |
+fatal(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log4j.Priority.FATAL . |
+
org.apache.log4j.Logger |
+getLogger()
+Return the native Logger instance we are using.
+ |
+
void |
+info(Object message)
+Logs a message with
+org.apache.log4j.Priority.INFO . |
+
void |
+info(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log4j.Priority.INFO . |
+
boolean |
+isDebugEnabled()
+Check whether the Log4j Logger used is enabled for
+DEBUG priority. |
+
boolean |
+isErrorEnabled()
+Check whether the Log4j Logger used is enabled for
+ERROR priority. |
+
boolean |
+isFatalEnabled()
+Check whether the Log4j Logger used is enabled for
+FATAL priority. |
+
boolean |
+isInfoEnabled()
+Check whether the Log4j Logger used is enabled for
+INFO priority. |
+
boolean |
+isTraceEnabled()
+Check whether the Log4j Logger used is enabled for
+TRACE priority. |
+
boolean |
+isWarnEnabled()
+Check whether the Log4j Logger used is enabled for
+WARN priority. |
+
void |
+trace(Object message)
+Logs a message with
+org.apache.log4j.Priority.TRACE . |
+
void |
+trace(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log4j.Priority.TRACE . |
+
void |
+warn(Object message)
+Logs a message with
+org.apache.log4j.Priority.WARN . |
+
void |
+warn(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log4j.Priority.WARN . |
+
public Log4JLogger()+
public Log4JLogger(String name)+
public Log4JLogger(org.apache.log4j.Logger logger)+
public void trace(Object message)+
org.apache.log4j.Priority.TRACE
.
+ When using a log4j version that does not support the TRACE
+ level, the message will be logged at the DEBUG
level.trace
in interface Log
message
- to logLog.trace(Object)
public void trace(Object message, + Throwable t)+
org.apache.log4j.Priority.TRACE
.
+ When using a log4j version that does not support the TRACE
+ level, the message will be logged at the DEBUG
level.trace
in interface Log
message
- to logt
- log this causeLog.trace(Object, Throwable)
public void debug(Object message)+
org.apache.log4j.Priority.DEBUG
.debug
in interface Log
message
- to logLog.debug(Object)
public void debug(Object message, + Throwable t)+
org.apache.log4j.Priority.DEBUG
.debug
in interface Log
message
- to logt
- log this causeLog.debug(Object, Throwable)
public void info(Object message)+
org.apache.log4j.Priority.INFO
.info
in interface Log
message
- to logLog.info(Object)
public void info(Object message, + Throwable t)+
org.apache.log4j.Priority.INFO
.info
in interface Log
message
- to logt
- log this causeLog.info(Object, Throwable)
public void warn(Object message)+
org.apache.log4j.Priority.WARN
.warn
in interface Log
message
- to logLog.warn(Object)
public void warn(Object message, + Throwable t)+
org.apache.log4j.Priority.WARN
.warn
in interface Log
message
- to logt
- log this causeLog.warn(Object, Throwable)
public void error(Object message)+
org.apache.log4j.Priority.ERROR
.error
in interface Log
message
- to logLog.error(Object)
public void error(Object message, + Throwable t)+
org.apache.log4j.Priority.ERROR
.error
in interface Log
message
- to logt
- log this causeLog.error(Object, Throwable)
public void fatal(Object message)+
org.apache.log4j.Priority.FATAL
.fatal
in interface Log
message
- to logLog.fatal(Object)
public void fatal(Object message, + Throwable t)+
org.apache.log4j.Priority.FATAL
.fatal
in interface Log
message
- to logt
- log this causeLog.fatal(Object, Throwable)
public org.apache.log4j.Logger getLogger()+
public boolean isDebugEnabled()+
DEBUG
priority.isDebugEnabled
in interface Log
public boolean isErrorEnabled()+
ERROR
priority.isErrorEnabled
in interface Log
public boolean isFatalEnabled()+
FATAL
priority.isFatalEnabled
in interface Log
public boolean isInfoEnabled()+
INFO
priority.isInfoEnabled
in interface Log
public boolean isTraceEnabled()+
TRACE
priority.
+ When using a log4j version that does not support the TRACE level, this call
+ will report whether DEBUG
is enabled or not.isTraceEnabled
in interface Log
public boolean isWarnEnabled()+
WARN
priority.isWarnEnabled
in interface Log
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/LogFactoryImpl.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/LogFactoryImpl.html new file mode 100755 index 0000000..4c98427 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/LogFactoryImpl.html @@ -0,0 +1,960 @@ + + + + + +public class LogFactoryImpl +extends LogFactory+
LogFactory
that implements the
+ following algorithm to dynamically select a logging implementation
+ class to instantiate a wrapper for:
+ org.apache.commons.logging.Log
to identify the
+ requested implementation class.org.apache.commons.logging.Log
system property
+ to identify the requested implementation class.org.apache.commons.logging.impl.Log4JLogger
.org.apache.commons.logging.impl.Jdk14Logger
.org.apache.commons.logging.impl.SimpleLog
.
+ If the selected Log
implementation class has a
+ setLogFactory()
method that accepts a LogFactory
+ parameter, this method will be called on each newly created instance
+ to identify the associated factory. This makes factory configuration
+ attributes available to the Log instance, if it so desires.
+
+ This factory will remember previously created Log
instances
+ for the same name, and will return them on repeated requests to the
+ getInstance()
method.
Modifier and Type | +Field and Description | +
---|---|
static String |
+ALLOW_FLAWED_CONTEXT_PROPERTY
+The name (
+org.apache.commons.logging.Log.allowFlawedContext )
+ of the system property which can be set true/false to
+ determine system behaviour when a bad context-classloader is encountered. |
+
static String |
+ALLOW_FLAWED_DISCOVERY_PROPERTY
+The name (
+org.apache.commons.logging.Log.allowFlawedDiscovery )
+ of the system property which can be set true/false to
+ determine system behaviour when a bad logging adapter class is
+ encountered during logging discovery. |
+
static String |
+ALLOW_FLAWED_HIERARCHY_PROPERTY
+The name (
+org.apache.commons.logging.Log.allowFlawedHierarchy )
+ of the system property which can be set true/false to
+ determine system behaviour when a logging adapter class is
+ encountered which has bound to the wrong Log class implementation. |
+
protected Hashtable |
+attributes
+Configuration attributes.
+ |
+
protected Hashtable |
+instances
+The
+Log instances that have
+ already been created, keyed by logger name. |
+
static String |
+LOG_PROPERTY
+The name (
+org.apache.commons.logging.Log ) of the system
+ property identifying our Log implementation class. |
+
protected static String |
+LOG_PROPERTY_OLD
+The deprecated system property used for backwards compatibility with
+ old versions of JCL.
+ |
+
protected Constructor |
+logConstructor
+The one-argument constructor of the
+
+Log
+ implementation class that will be used to create new instances. |
+
protected Class[] |
+logConstructorSignature
+The signature of the Constructor to be used.
+ |
+
protected Method |
+logMethod
+The one-argument
+setLogFactory method of the selected
+ Log method, if it exists. |
+
protected Class[] |
+logMethodSignature
+The signature of the
+setLogFactory method to be used. |
+
DIAGNOSTICS_DEST_PROPERTY, factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, HASHTABLE_IMPLEMENTATION_PROPERTY, nullClassLoaderFactory, PRIORITY_KEY, SERVICE_ID, TCCL_KEY
Constructor and Description | +
---|
LogFactoryImpl()
+Public no-arguments constructor required by the lookup mechanism.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+getAttribute(String name)
+Return the configuration attribute with the specified name (if any),
+ or
+null if there is no such attribute. |
+
String[] |
+getAttributeNames()
+Return an array containing the names of all currently defined
+ configuration attributes.
+ |
+
protected static ClassLoader |
+getClassLoader(Class clazz)
+Workaround for bug in Java1.2; in theory this method is not needed.
+ |
+
protected static ClassLoader |
+getContextClassLoader()
+Gets the context classloader.
+ |
+
Log |
+getInstance(Class clazz)
+Convenience method to derive a name from the specified class and
+ call
+getInstance(String) with it. |
+
Log |
+getInstance(String name)
+Construct (if necessary) and return a
+Log instance,
+ using the factory's current set of configuration attributes. |
+
protected String |
+getLogClassName()
+Deprecated.
+
+Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
protected Constructor |
+getLogConstructor()
+Deprecated.
+
+Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
protected static boolean |
+isDiagnosticsEnabled()
+Workaround for bug in Java1.2; in theory this method is not needed.
+ |
+
protected boolean |
+isJdk13LumberjackAvailable()
+Deprecated.
+
+Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
protected boolean |
+isJdk14Available()
+Deprecated.
+
+Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
protected boolean |
+isLog4JAvailable()
+Deprecated.
+
+Never invoked by this class; subclasses should not assume
+ it will be.
+ |
+
protected void |
+logDiagnostic(String msg)
+Output a diagnostic message to a user-specified destination (if the
+ user has enabled diagnostic logging).
+ |
+
protected Log |
+newInstance(String name)
+Create and return a new
+Log
+ instance for the specified name. |
+
void |
+release()
+Release any internal references to previously created
+
+Log
+ instances returned by this factory. |
+
void |
+removeAttribute(String name)
+Remove any configuration attribute associated with the specified name.
+ |
+
void |
+setAttribute(String name,
+ Object value)
+Set the configuration attribute with the specified name.
+ |
+
createFactory, directGetContextClassLoader, getFactory, getLog, getLog, handleThrowable, logRawDiagnostic, newFactory, newFactory, objectId, release, releaseAll
public static final String LOG_PROPERTY+
org.apache.commons.logging.Log
) of the system
+ property identifying our Log
implementation class.protected static final String LOG_PROPERTY_OLD+
public static final String ALLOW_FLAWED_CONTEXT_PROPERTY+
org.apache.commons.logging.Log.allowFlawedContext
)
+ of the system property which can be set true/false to
+ determine system behaviour when a bad context-classloader is encountered.
+ When set to false, a LogConfigurationException is thrown if
+ LogFactoryImpl is loaded via a child classloader of the TCCL (this
+ should never happen in sane systems).
+
+ Default behaviour: true (tolerates bad context classloaders)
+
+ See also method setAttribute.public static final String ALLOW_FLAWED_DISCOVERY_PROPERTY+
org.apache.commons.logging.Log.allowFlawedDiscovery
)
+ of the system property which can be set true/false to
+ determine system behaviour when a bad logging adapter class is
+ encountered during logging discovery. When set to false, an
+ exception will be thrown and the app will fail to start. When set
+ to true, discovery will continue (though the user might end up
+ with a different logging implementation than they expected).
+ + Default behaviour: true (tolerates bad logging adapters) + + See also method setAttribute.
public static final String ALLOW_FLAWED_HIERARCHY_PROPERTY+
org.apache.commons.logging.Log.allowFlawedHierarchy
)
+ of the system property which can be set true/false to
+ determine system behaviour when a logging adapter class is
+ encountered which has bound to the wrong Log class implementation.
+ When set to false, an exception will be thrown and the app will fail
+ to start. When set to true, discovery will continue (though the user
+ might end up with a different logging implementation than they expected).
+ + Default behaviour: true (tolerates bad Log class hierarchy) + + See also method setAttribute.
protected Hashtable attributes+
protected Hashtable instances+
Log
instances that have
+ already been created, keyed by logger name.protected Constructor logConstructor+
Log
+ implementation class that will be used to create new instances.
+ This value is initialized by getLogConstructor()
,
+ and then returned repeatedly.protected Class[] logConstructorSignature+
protected Method logMethod+
setLogFactory
method of the selected
+ Log
method, if it exists.protected Class[] logMethodSignature+
setLogFactory
method to be used.public LogFactoryImpl()+
public Object getAttribute(String name)+
null
if there is no such attribute.getAttribute
in class LogFactory
name
- Name of the attribute to returnpublic String[] getAttributeNames()+
getAttributeNames
in class LogFactory
public Log getInstance(Class clazz) + throws LogConfigurationException+
getInstance(String)
with it.getInstance
in class LogFactory
clazz
- Class for which a suitable Log name will be derivedLogConfigurationException
- if a suitable Log
+ instance cannot be returnedpublic Log getInstance(String name) + throws LogConfigurationException+
Construct (if necessary) and return a Log
instance,
+ using the factory's current set of configuration attributes.
NOTE - Depending upon the implementation of
+ the LogFactory
you are using, the Log
+ instance you are returned may or may not be local to the current
+ application, and may or may not be returned again on a subsequent
+ call with the same name argument.
getInstance
in class LogFactory
name
- Logical name of the Log
instance to be
+ returned (the meaning of this name is only known to the underlying
+ logging implementation that is being wrapped)LogConfigurationException
- if a suitable Log
+ instance cannot be returnedpublic void release()+
Log
+ instances returned by this factory. This is useful in environments
+ like servlet containers, which implement application reloading by
+ throwing away a ClassLoader. Dangling references to objects in that
+ class loader would prevent garbage collection.release
in class LogFactory
public void removeAttribute(String name)+
removeAttribute
in class LogFactory
name
- Name of the attribute to removepublic void setAttribute(String name, + Object value)+
null
value is equivalent to calling
+ removeAttribute(name)
.
+ + This method can be used to set logging configuration programmatically + rather than via system properties. It can also be used in code running + within a container (such as a webapp) to configure behaviour on a + per-component level instead of globally as system properties would do. + To use this method instead of a system property, call +
+ LogFactory.getFactory().setAttribute(...) ++ This must be done before the first Log object is created; configuration + changes after that point will be ignored. +
+ This method is also called automatically if LogFactory detects a + commons-logging.properties file; every entry in that file is set + automatically as an attribute here.
setAttribute
in class LogFactory
name
- Name of the attribute to setvalue
- Value of the attribute to set, or null
+ to remove any setting for this attributeprotected static ClassLoader getContextClassLoader() + throws LogConfigurationException+
LogConfigurationException
protected static boolean isDiagnosticsEnabled()+
protected static ClassLoader getClassLoader(Class clazz)+
protected void logDiagnostic(String msg)+
msg
- diagnostic messageprotected String getLogClassName()+
Log
+ implementation we will be using.protected Constructor getLogConstructor() + throws LogConfigurationException+
Return the Constructor
that can be called to instantiate
+ new Log
instances.
IMPLEMENTATION NOTE - Race conditions caused by
+ calling this method from more than one thread are ignored, because
+ the same Constructor
instance will ultimately be derived
+ in all circumstances.
LogConfigurationException
- if a suitable constructor
+ cannot be returnedprotected boolean isJdk13LumberjackAvailable()+
protected boolean isJdk14Available()+
true
if JDK 1.4 or later logging
+ is available. Also checks that the Throwable
class
+ supports getStackTrace()
, which is required by
+ Jdk14Logger.protected boolean isLog4JAvailable()+
protected Log newInstance(String name) + throws LogConfigurationException+
Log
+ instance for the specified name.name
- Name of the new loggerLogConfigurationException
- if a new instance cannot
+ be createdCopyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/LogKitLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/LogKitLogger.html new file mode 100755 index 0000000..ee2eb79 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/LogKitLogger.html @@ -0,0 +1,707 @@ + + + + + +public class LogKitLogger +extends Object +implements Log, Serializable+
org.apache.commons.logging.Log
+ that wraps the avalon-logkit
+ logging system. Configuration of LogKit
is left to the user.
+
+ LogKit
accepts only String
messages.
+ Therefore, this implementation converts object messages into strings
+ by called their toString()
method before logging them.
Modifier and Type | +Field and Description | +
---|---|
protected org.apache.log.Logger |
+logger
+Logging goes to this
+LogKit logger |
+
protected String |
+name
+Name of this logger
+ |
+
Constructor and Description | +
---|
LogKitLogger(String name)
+Construct
+LogKitLogger which wraps the LogKit
+ logger with given name. |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Logs a message with
+org.apache.log.Priority.DEBUG . |
+
void |
+debug(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log.Priority.DEBUG . |
+
void |
+error(Object message)
+Logs a message with
+org.apache.log.Priority.ERROR . |
+
void |
+error(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log.Priority.ERROR . |
+
void |
+fatal(Object message)
+Logs a message with
+org.apache.log.Priority.FATAL_ERROR . |
+
void |
+fatal(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log.Priority.FATAL_ERROR . |
+
org.apache.log.Logger |
+getLogger()
+Return the underlying Logger we are using.
+ |
+
void |
+info(Object message)
+Logs a message with
+org.apache.log.Priority.INFO . |
+
void |
+info(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log.Priority.INFO . |
+
boolean |
+isDebugEnabled()
+Checks whether the
+LogKit logger will log messages of priority DEBUG . |
+
boolean |
+isErrorEnabled()
+Checks whether the
+LogKit logger will log messages of priority ERROR . |
+
boolean |
+isFatalEnabled()
+Checks whether the
+LogKit logger will log messages of priority FATAL_ERROR . |
+
boolean |
+isInfoEnabled()
+Checks whether the
+LogKit logger will log messages of priority INFO . |
+
boolean |
+isTraceEnabled()
+Checks whether the
+LogKit logger will log messages of priority DEBUG . |
+
boolean |
+isWarnEnabled()
+Checks whether the
+LogKit logger will log messages of priority WARN . |
+
void |
+trace(Object message)
+Logs a message with
+org.apache.log.Priority.DEBUG . |
+
void |
+trace(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log.Priority.DEBUG . |
+
void |
+warn(Object message)
+Logs a message with
+org.apache.log.Priority.WARN . |
+
void |
+warn(Object message,
+ Throwable t)
+Logs a message with
+org.apache.log.Priority.WARN . |
+
protected transient volatile org.apache.log.Logger logger+
LogKit
loggerprotected String name+
public LogKitLogger(String name)+
LogKitLogger
which wraps the LogKit
+ logger with given name.name
- log namepublic org.apache.log.Logger getLogger()+
public void trace(Object message)+
org.apache.log.Priority.DEBUG
.trace
in interface Log
message
- to logLog.trace(Object)
public void trace(Object message, + Throwable t)+
org.apache.log.Priority.DEBUG
.trace
in interface Log
message
- to logt
- log this causeLog.trace(Object, Throwable)
public void debug(Object message)+
org.apache.log.Priority.DEBUG
.debug
in interface Log
message
- to logLog.debug(Object)
public void debug(Object message, + Throwable t)+
org.apache.log.Priority.DEBUG
.debug
in interface Log
message
- to logt
- log this causeLog.debug(Object, Throwable)
public void info(Object message)+
org.apache.log.Priority.INFO
.info
in interface Log
message
- to logLog.info(Object)
public void info(Object message, + Throwable t)+
org.apache.log.Priority.INFO
.info
in interface Log
message
- to logt
- log this causeLog.info(Object, Throwable)
public void warn(Object message)+
org.apache.log.Priority.WARN
.warn
in interface Log
message
- to logLog.warn(Object)
public void warn(Object message, + Throwable t)+
org.apache.log.Priority.WARN
.warn
in interface Log
message
- to logt
- log this causeLog.warn(Object, Throwable)
public void error(Object message)+
org.apache.log.Priority.ERROR
.error
in interface Log
message
- to logLog.error(Object)
public void error(Object message, + Throwable t)+
org.apache.log.Priority.ERROR
.error
in interface Log
message
- to logt
- log this causeLog.error(Object, Throwable)
public void fatal(Object message)+
org.apache.log.Priority.FATAL_ERROR
.fatal
in interface Log
message
- to logLog.fatal(Object)
public void fatal(Object message, + Throwable t)+
org.apache.log.Priority.FATAL_ERROR
.fatal
in interface Log
message
- to logt
- log this causeLog.fatal(Object, Throwable)
public boolean isDebugEnabled()+
LogKit
logger will log messages of priority DEBUG
.isDebugEnabled
in interface Log
public boolean isErrorEnabled()+
LogKit
logger will log messages of priority ERROR
.isErrorEnabled
in interface Log
public boolean isFatalEnabled()+
LogKit
logger will log messages of priority FATAL_ERROR
.isFatalEnabled
in interface Log
public boolean isInfoEnabled()+
LogKit
logger will log messages of priority INFO
.isInfoEnabled
in interface Log
public boolean isTraceEnabled()+
LogKit
logger will log messages of priority DEBUG
.isTraceEnabled
in interface Log
public boolean isWarnEnabled()+
LogKit
logger will log messages of priority WARN
.isWarnEnabled
in interface Log
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/NoOpLog.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/NoOpLog.html new file mode 100755 index 0000000..6368b26 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/NoOpLog.html @@ -0,0 +1,643 @@ + + + + + +public class NoOpLog +extends Object +implements Log, Serializable+
Constructor and Description | +
---|
NoOpLog()
+Convenience constructor
+ |
+
NoOpLog(String name)
+Base constructor
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Do nothing
+ |
+
void |
+debug(Object message,
+ Throwable t)
+Do nothing
+ |
+
void |
+error(Object message)
+Do nothing
+ |
+
void |
+error(Object message,
+ Throwable t)
+Do nothing
+ |
+
void |
+fatal(Object message)
+Do nothing
+ |
+
void |
+fatal(Object message,
+ Throwable t)
+Do nothing
+ |
+
void |
+info(Object message)
+Do nothing
+ |
+
void |
+info(Object message,
+ Throwable t)
+Do nothing
+ |
+
boolean |
+isDebugEnabled()
+Debug is never enabled.
+ |
+
boolean |
+isErrorEnabled()
+Error is never enabled.
+ |
+
boolean |
+isFatalEnabled()
+Fatal is never enabled.
+ |
+
boolean |
+isInfoEnabled()
+Info is never enabled.
+ |
+
boolean |
+isTraceEnabled()
+Trace is never enabled.
+ |
+
boolean |
+isWarnEnabled()
+Warn is never enabled.
+ |
+
void |
+trace(Object message)
+Do nothing
+ |
+
void |
+trace(Object message,
+ Throwable t)
+Do nothing
+ |
+
void |
+warn(Object message)
+Do nothing
+ |
+
void |
+warn(Object message,
+ Throwable t)
+Do nothing
+ |
+
public NoOpLog()+
public NoOpLog(String name)+
public void trace(Object message)+
public void debug(Object message)+
public void info(Object message)+
public void warn(Object message)+
public void error(Object message)+
public void fatal(Object message)+
public final boolean isDebugEnabled()+
isDebugEnabled
in interface Log
public final boolean isErrorEnabled()+
isErrorEnabled
in interface Log
public final boolean isFatalEnabled()+
isFatalEnabled
in interface Log
public final boolean isInfoEnabled()+
isInfoEnabled
in interface Log
public final boolean isTraceEnabled()+
isTraceEnabled
in interface Log
public final boolean isWarnEnabled()+
isWarnEnabled
in interface Log
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/ServletContextCleaner.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/ServletContextCleaner.html new file mode 100755 index 0000000..b2d4a08 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/ServletContextCleaner.html @@ -0,0 +1,313 @@ + + + + + +public class ServletContextCleaner +extends Object +implements ServletContextListener+
+ In general, the WeakHashtable support added in commons-logging release 1.1 + ensures that logging classes do not hold references that prevent an + undeployed webapp's memory from being garbage-collected even when multiple + copies of commons-logging are deployed via multiple classloaders (a + situation that earlier versions had problems with). However there are + some rare cases where the WeakHashtable approach does not work; in these + situations specifying this class as a listener for the web application will + ensure that all references held by commons-logging are fully released. +
+ To use this class, configure the webapp deployment descriptor to call + this class on webapp undeploy; the contextDestroyed method will tell + every accessible LogFactory class that the entry in its map for the + current webapp's context classloader should be cleared.
Constructor and Description | +
---|
ServletContextCleaner() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+contextDestroyed(ServletContextEvent sce)
+Invoked when a webapp is undeployed, this tells the LogFactory
+ class to release any logging information related to the current
+ contextClassloader.
+ |
+
void |
+contextInitialized(ServletContextEvent sce)
+Invoked when a webapp is deployed.
+ |
+
public void contextDestroyed(ServletContextEvent sce)+
contextDestroyed
in interface ServletContextListener
public void contextInitialized(ServletContextEvent sce)+
contextInitialized
in interface ServletContextListener
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/SimpleLog.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/SimpleLog.html new file mode 100755 index 0000000..c62be47 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/SimpleLog.html @@ -0,0 +1,1112 @@ + + + + + +public class SimpleLog +extends Object +implements Log, Serializable+
org.apache.commons.logging.simplelog.defaultlog
-
+ Default logging detail level for all instances of SimpleLog.
+ Must be one of ("trace", "debug", "info", "warn", "error", or "fatal").
+ If not specified, defaults to "info". org.apache.commons.logging.simplelog.log.xxxxx
-
+ Logging detail level for a SimpleLog instance named "xxxxx".
+ Must be one of ("trace", "debug", "info", "warn", "error", or "fatal").
+ If not specified, the default logging detail level is used.org.apache.commons.logging.simplelog.showlogname
-
+ Set to true
if you want the Log instance name to be
+ included in output messages. Defaults to false
.org.apache.commons.logging.simplelog.showShortLogname
-
+ Set to true
if you want the last component of the name to be
+ included in output messages. Defaults to true
.org.apache.commons.logging.simplelog.showdatetime
-
+ Set to true
if you want the current date and time
+ to be included in output messages. Default is false
.org.apache.commons.logging.simplelog.dateTimeFormat
-
+ The date and time format to be used in the output messages.
+ The pattern describing the date and time format is the same that is
+ used in java.text.SimpleDateFormat
. If the format is not
+ specified or is invalid, the default format is used.
+ The default format is yyyy/MM/dd HH:mm:ss:SSS zzz
.
+ In addition to looking for system properties with the names specified
+ above, this implementation also checks for a class loader resource named
+ "simplelog.properties"
, and includes any matching definitions
+ from this resource (if it exists).
Modifier and Type | +Field and Description | +
---|---|
protected int |
+currentLogLevel
+The current log level
+ |
+
protected static DateFormat |
+dateFormatter
+Used to format times.
+ |
+
protected static String |
+dateTimeFormat
+The date and time format to use in the log message
+ |
+
protected static String |
+DEFAULT_DATE_TIME_FORMAT
+The default format to use when formating dates
+ |
+
static int |
+LOG_LEVEL_ALL
+Enable all logging levels
+ |
+
static int |
+LOG_LEVEL_DEBUG
+"Debug" level logging.
+ |
+
static int |
+LOG_LEVEL_ERROR
+"Error" level logging.
+ |
+
static int |
+LOG_LEVEL_FATAL
+"Fatal" level logging.
+ |
+
static int |
+LOG_LEVEL_INFO
+"Info" level logging.
+ |
+
static int |
+LOG_LEVEL_OFF
+Enable no logging levels
+ |
+
static int |
+LOG_LEVEL_TRACE
+"Trace" level logging.
+ |
+
static int |
+LOG_LEVEL_WARN
+"Warn" level logging.
+ |
+
protected String |
+logName
+The name of this simple log instance
+ |
+
protected static boolean |
+showDateTime
+Include the current time in the log message
+ |
+
protected static boolean |
+showLogName
+Include the instance name in the log message?
+ |
+
protected static boolean |
+showShortName
+Include the short name ( last component ) of the logger in the log
+ message.
+ |
+
protected static Properties |
+simpleLogProps
+Properties loaded from simplelog.properties
+ |
+
protected static String |
+systemPrefix
+All system properties used by
+SimpleLog start with this |
+
Constructor and Description | +
---|
SimpleLog(String name)
+Construct a simple log with given name.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debug(Object message)
+Logs a message with
+
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_DEBUG . |
+
void |
+debug(Object message,
+ Throwable t)
+Logs a message with
+
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_DEBUG . |
+
void |
+error(Object message)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR . |
+
void |
+error(Object message,
+ Throwable t)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR . |
+
void |
+fatal(Object message)
+Log a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL . |
+
void |
+fatal(Object message,
+ Throwable t)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL . |
+
int |
+getLevel()
+Get logging level.
+ |
+
void |
+info(Object message)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO . |
+
void |
+info(Object message,
+ Throwable t)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO . |
+
boolean |
+isDebugEnabled()
+Are debug messages currently enabled?
+ |
+
boolean |
+isErrorEnabled()
+Are error messages currently enabled?
+ |
+
boolean |
+isFatalEnabled()
+Are fatal messages currently enabled?
+ |
+
boolean |
+isInfoEnabled()
+Are info messages currently enabled?
+ |
+
protected boolean |
+isLevelEnabled(int logLevel)
+Is the given log level currently enabled?
+ |
+
boolean |
+isTraceEnabled()
+Are trace messages currently enabled?
+ |
+
boolean |
+isWarnEnabled()
+Are warn messages currently enabled?
+ |
+
protected void |
+log(int type,
+ Object message,
+ Throwable t)
+Do the actual logging.
+ |
+
void |
+setLevel(int currentLogLevel)
+Set logging level.
+ |
+
void |
+trace(Object message)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE . |
+
void |
+trace(Object message,
+ Throwable t)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE . |
+
void |
+warn(Object message)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN . |
+
void |
+warn(Object message,
+ Throwable t)
+Logs a message with
+org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN . |
+
protected void |
+write(StringBuffer buffer)
+Write the content of the message accumulated in the specified
+
+StringBuffer to the appropriate output destination. |
+
protected static final String systemPrefix+
SimpleLog
start with thisprotected static final Properties simpleLogProps+
protected static final String DEFAULT_DATE_TIME_FORMAT+
protected static volatile boolean showLogName+
protected static volatile boolean showShortName+
protected static volatile boolean showDateTime+
protected static volatile String dateTimeFormat+
protected static DateFormat dateFormatter+
+ Any code that accesses this object should first obtain a lock on it, + ie use synchronized(dateFormatter); this requirement was introduced + in 1.1.1 to fix an existing thread safety bug (SimpleDateFormat.format + is not thread-safe).
public static final int LOG_LEVEL_TRACE+
public static final int LOG_LEVEL_DEBUG+
public static final int LOG_LEVEL_INFO+
public static final int LOG_LEVEL_WARN+
public static final int LOG_LEVEL_ERROR+
public static final int LOG_LEVEL_FATAL+
public static final int LOG_LEVEL_ALL+
public static final int LOG_LEVEL_OFF+
protected volatile String logName+
protected volatile int currentLogLevel+
public SimpleLog(String name)+
name
- log namepublic void setLevel(int currentLogLevel)+
currentLogLevel
- new logging levelpublic int getLevel()+
protected void log(int type, + Object message, + Throwable t)+
+ This method assembles the message and then calls write()
+ to cause it to be written.
type
- One of the LOG_LEVEL_XXX constants defining the log levelmessage
- The message itself (typically a String)t
- The exception whose stack trace should be loggedprotected void write(StringBuffer buffer)+
StringBuffer
to the appropriate output destination. The
+ default implementation writes to System.err
.buffer
- A StringBuffer
containing the accumulated
+ text to be loggedprotected boolean isLevelEnabled(int logLevel)+
logLevel
- is this level enabled?public final void debug(Object message)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_DEBUG
.debug
in interface Log
message
- to logLog.debug(Object)
public final void debug(Object message, + Throwable t)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_DEBUG
.debug
in interface Log
message
- to logt
- log this causeLog.debug(Object, Throwable)
public final void trace(Object message)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE
.trace
in interface Log
message
- to logLog.trace(Object)
public final void trace(Object message, + Throwable t)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_TRACE
.trace
in interface Log
message
- to logt
- log this causeLog.trace(Object, Throwable)
public final void info(Object message)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO
.info
in interface Log
message
- to logLog.info(Object)
public final void info(Object message, + Throwable t)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_INFO
.info
in interface Log
message
- to logt
- log this causeLog.info(Object, Throwable)
public final void warn(Object message)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN
.warn
in interface Log
message
- to logLog.warn(Object)
public final void warn(Object message, + Throwable t)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_WARN
.warn
in interface Log
message
- to logt
- log this causeLog.warn(Object, Throwable)
public final void error(Object message)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR
.error
in interface Log
message
- to logLog.error(Object)
public final void error(Object message, + Throwable t)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_ERROR
.error
in interface Log
message
- to logt
- log this causeLog.error(Object, Throwable)
public final void fatal(Object message)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL
.fatal
in interface Log
message
- to logLog.fatal(Object)
public final void fatal(Object message, + Throwable t)+
org.apache.commons.logging.impl.SimpleLog.LOG_LEVEL_FATAL
.fatal
in interface Log
message
- to logt
- log this causeLog.fatal(Object, Throwable)
public final boolean isDebugEnabled()+
+ This allows expensive operations such as String
+ concatenation to be avoided when the message will be ignored by the
+ logger.
isDebugEnabled
in interface Log
public final boolean isErrorEnabled()+
+ This allows expensive operations such as String
+ concatenation to be avoided when the message will be ignored by the
+ logger.
isErrorEnabled
in interface Log
public final boolean isFatalEnabled()+
+ This allows expensive operations such as String
+ concatenation to be avoided when the message will be ignored by the
+ logger.
isFatalEnabled
in interface Log
public final boolean isInfoEnabled()+
+ This allows expensive operations such as String
+ concatenation to be avoided when the message will be ignored by the
+ logger.
isInfoEnabled
in interface Log
public final boolean isTraceEnabled()+
+ This allows expensive operations such as String
+ concatenation to be avoided when the message will be ignored by the
+ logger.
isTraceEnabled
in interface Log
public final boolean isWarnEnabled()+
+ This allows expensive operations such as String
+ concatenation to be avoided when the message will be ignored by the
+ logger.
isWarnEnabled
in interface Log
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/WeakHashtable.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/WeakHashtable.html new file mode 100755 index 0000000..63efa28 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/WeakHashtable.html @@ -0,0 +1,608 @@ + + + + + +public final class WeakHashtable +extends Hashtable+
Hashtable
that uses WeakReference
's
+ to hold its keys thus allowing them to be reclaimed by the garbage collector.
+ The associated values are retained using strong references.
+
+ This class follows the semantics of Hashtable
as closely as
+ possible. It therefore does not accept null values or keys.
+
+ Note:
+ This is not intended to be a general purpose hash table replacement.
+ This implementation is also tuned towards a particular purpose: for use as a replacement
+ for Hashtable
in LogFactory
. This application requires
+ good liveliness for get
and put
. Various tradeoffs
+ have been made with this in mind.
+
+ Usage: typical use case is as a drop-in replacement
+ for the Hashtable
used in LogFactory
for J2EE environments
+ running 1.3+ JVMs. Use of this class in most cases (see below) will
+ allow classloaders to be collected by the garbage collector without the need
+ to call LogFactory.release(ClassLoader)
.
+
+ org.apache.commons.logging.LogFactory
checks whether this class
+ can be supported by the current JVM, and if so then uses it to store
+ references to the LogFactory
implementation it loads
+ (rather than using a standard Hashtable instance).
+ Having this class used instead of Hashtable
solves
+ certain issues related to dynamic reloading of applications in J2EE-style
+ environments. However this class requires java 1.3 or later (due to its use
+ of java.lang.ref.WeakReference
and associates).
+ And by the way, this extends Hashtable
rather than HashMap
+ for backwards compatibility reasons. See the documentation
+ for method LogFactory.createFactoryStore
for more details.
+
+ The reason all this is necessary is due to a issue which
+ arises during hot deploy in a J2EE-like containers.
+ Each component running in the container owns one or more classloaders; when
+ the component loads a LogFactory instance via the component classloader
+ a reference to it gets stored in the static LogFactory.factories member,
+ keyed by the component's classloader so different components don't
+ stomp on each other. When the component is later unloaded, the container
+ sets the component's classloader to null with the intent that all the
+ component's classes get garbage-collected. However there's still a
+ reference to the component's classloader from a key in the "global"
+ LogFactory
's factories member! If LogFactory.release()
+ is called whenever component is unloaded, the classloaders will be correctly
+ garbage collected; this should be done by any container that
+ bundles commons-logging by default. However, holding the classloader
+ references weakly ensures that the classloader will be garbage collected
+ without the container performing this step.
+
+ Limitations: + There is still one (unusual) scenario in which a component will not + be correctly unloaded without an explicit release. Though weak references + are used for its keys, it is necessary to use strong references for its values. +
+ If the abstract class LogFactory
is
+ loaded by the container classloader but a subclass of
+ LogFactory
[LogFactory1] is loaded by the component's
+ classloader and an instance stored in the static map associated with the
+ base LogFactory class, then there is a strong reference from the LogFactory
+ class to the LogFactory1 instance (as normal) and a strong reference from
+ the LogFactory1 instance to the component classloader via
+ getClass().getClassLoader()
. This chain of references will prevent
+ collection of the child classloader.
+
+ Such a situation occurs when the commons-logging.jar is
+ loaded by a parent classloader (e.g. a server level classloader in a
+ servlet container) and a custom LogFactory
implementation is
+ loaded by a child classloader (e.g. a web app classloader).
+
+ To avoid this scenario, ensure
+ that any custom LogFactory subclass is loaded by the same classloader as
+ the base LogFactory
. Creating custom LogFactory subclasses is,
+ however, rare. The standard LogFactoryImpl class should be sufficient
+ for most or all users.
Constructor and Description | +
---|
WeakHashtable()
+Constructs a WeakHashtable with the Hashtable default
+ capacity and load factor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+containsKey(Object key) |
+
Enumeration |
+elements() |
+
Set |
+entrySet() |
+
Object |
+get(Object key) |
+
boolean |
+isEmpty() |
+
Enumeration |
+keys() |
+
Set |
+keySet() |
+
Object |
+put(Object key,
+ Object value) |
+
void |
+putAll(Map t) |
+
protected void |
+rehash() |
+
Object |
+remove(Object key) |
+
int |
+size() |
+
String |
+toString() |
+
Collection |
+values() |
+
public WeakHashtable()+
public boolean containsKey(Object key)+
containsKey
in interface Map
containsKey
in class Hashtable
Hashtable
public Enumeration elements()+ +
public Set entrySet()+ +
public Enumeration keys()+ +
public Set keySet()+ +
public void putAll(Map t)+ +
public Collection values()+ +
public boolean isEmpty()+ +
public int size()+ +
public String toString()+ +
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/AvalonLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/AvalonLogger.html new file mode 100755 index 0000000..b22be7e --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/AvalonLogger.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Jdk13LumberjackLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Jdk13LumberjackLogger.html new file mode 100755 index 0000000..fada0a7 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Jdk13LumberjackLogger.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Jdk14Logger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Jdk14Logger.html new file mode 100755 index 0000000..a44d455 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Jdk14Logger.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Log4JLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Log4JLogger.html new file mode 100755 index 0000000..72d5329 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/Log4JLogger.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/LogFactoryImpl.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/LogFactoryImpl.html new file mode 100755 index 0000000..0a0077a --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/LogFactoryImpl.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/LogKitLogger.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/LogKitLogger.html new file mode 100755 index 0000000..73aae39 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/LogKitLogger.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/NoOpLog.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/NoOpLog.html new file mode 100755 index 0000000..6863b6e --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/NoOpLog.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/ServletContextCleaner.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/ServletContextCleaner.html new file mode 100755 index 0000000..8bac481 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/ServletContextCleaner.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/SimpleLog.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/SimpleLog.html new file mode 100755 index 0000000..0d00b0b --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/SimpleLog.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/WeakHashtable.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/WeakHashtable.html new file mode 100755 index 0000000..ccb8bd2 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/class-use/WeakHashtable.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-frame.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-frame.html new file mode 100755 index 0000000..54909e8 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-frame.html @@ -0,0 +1,27 @@ + + + + + +See: Description
+Class | +Description | +
---|---|
AvalonLogger | +
+ Implementation of commons-logging Log interface that delegates all
+ logging calls to the Avalon logging abstraction: the Logger interface.
+ |
+
Jdk13LumberjackLogger | +
+ Implementation of the
+org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that are
+ available in SourceForge's Lumberjack for JDKs prior to 1.4. |
+
Jdk14Logger | +
+ Implementation of the
+org.apache.commons.logging.Log
+ interface that wraps the standard JDK logging mechanisms that were
+ introduced in the Merlin release (JDK 1.4). |
+
Log4JLogger | +
+ Implementation of
+Log that maps directly to a
+ Logger for log4J version 1.2. |
+
LogFactoryImpl | +
+ Concrete subclass of
+LogFactory that implements the
+ following algorithm to dynamically select a logging implementation
+ class to instantiate a wrapper for:
+
+ Use a factory configuration attribute named
+ org.apache.commons.logging.Log to identify the
+ requested implementation class.
+ Use the org.apache.commons.logging.Log system property
+ to identify the requested implementation class.
+ If Log4J is available, return an instance of
+ org.apache.commons.logging.impl.Log4JLogger .
+ If JDK 1.4 or later is available, return an instance of
+ org.apache.commons.logging.impl.Jdk14Logger .
+ Otherwise, return an instance of
+ org.apache.commons.logging.impl.SimpleLog .
+ |
+
LogKitLogger | +
+ Implementation of
+org.apache.commons.logging.Log
+ that wraps the avalon-logkit
+ logging system. |
+
NoOpLog | +
+ Trivial implementation of Log that throws away all messages.
+ |
+
ServletContextCleaner | +
+ This class is capable of receiving notifications about the undeployment of
+ a webapp, and responds by ensuring that commons-logging releases all
+ memory associated with the undeployed webapp.
+ |
+
SimpleLog | +
+ Simple implementation of Log that sends all enabled log messages,
+ for all defined loggers, to System.err.
+ |
+
WeakHashtable | +
+ Implementation of
+Hashtable that uses WeakReference 's
+ to hold its keys thus allowing them to be reclaimed by the garbage collector. |
+
Concrete implementations of commons-logging wrapper APIs.
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-tree.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-tree.html new file mode 100755 index 0000000..0598d3e --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-tree.html @@ -0,0 +1,149 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-use.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-use.html new file mode 100755 index 0000000..0e903db --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/impl/package-use.html @@ -0,0 +1,115 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-frame.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-frame.html new file mode 100755 index 0000000..7c1509a --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-frame.html @@ -0,0 +1,27 @@ + + + + + +See: Description
+Interface | +Description | +
---|---|
Log | +
+ A simple logging interface abstracting logging APIs.
+ |
+
Class | +Description | +
---|---|
LogFactory | +
+ Factory for creating
+Log instances, with discovery and
+ configuration features similar to that employed by standard Java APIs
+ such as JAXP. |
+
LogSource | +Deprecated
+ Use
+LogFactory instead - The default factory
+ implementation performs exactly the same algorithm as this class did |
+
Exception | +Description | +
---|---|
LogConfigurationException | +
+ An exception that is thrown only if a suitable
+LogFactory
+ or Log instance cannot be created by the corresponding
+ factory methods. |
+
Simple wrapper API around multiple logging APIs.
+ + +This package provides an API for logging in server-based applications that +can be used around a variety of different logging implementations, including +prebuilt support for the following:
+java.util.logging.Logger
instance.Logger
.For those impatient to just get on with it, the following example +illustrates the typical declaration and use of a logger that is named (by +convention) after the calling class: + +
+ import org.apache.commons.logging.Log; + import org.apache.commons.logging.LogFactory; + + public class Foo { + + private Log log = LogFactory.getLog(Foo.class); + + public void foo() { + ... + try { + if (log.isDebugEnabled()) { + log.debug("About to do something to object " + name); + } + name.bar(); + } catch (IllegalStateException e) { + log.error("Something bad happened to " + name, e); + } + ... + } ++ +
Unless you configure things differently, all log output will be written +to System.err. Therefore, you really will want to review the remainder of +this page in order to understand how to configure logging for your +application.
+ + +LogFactory
ImplementationFrom an application perspective, the first requirement is to retrieve an
+object reference to the LogFactory
instance that will be used
+to create Log
instances for this
+application. This is normally accomplished by calling the static
+getFactory()
method. This method implements the following
+discovery algorithm to select the name of the LogFactory
+implementation class this application wants to use:
org.apache.commons.logging.LogFactory
.META-INF/services/org.apache.commons.logging.LogFactory
+ whose first line is assumed to contain the desired class name.commons-logging.properties
+ visible in the application class path, with a property named
+ org.apache.commons.logging.LogFactory
defining the
+ desired implementation class name.If a commons-logging.properties
file is found, all of the
+properties defined there are also used to set configuration attributes on
+the instantiated LogFactory
instance.
Once an implementation class name is selected, the corresponding class is
+loaded from the current Thread context class loader (if there is one), or
+from the class loader that loaded the LogFactory
class itself
+otherwise. This allows a copy of commons-logging.jar
to be
+shared in a multiple class loader environment (such as a servlet container),
+but still allow each web application to provide its own LogFactory
+implementation, if it so desires. An instance of this class will then be
+created, and cached per class loader.
+
+
+
LogFactory
ImplementationThe Logging Package APIs include a default LogFactory
+implementation class (
+org.apache.commons.logging.impl.LogFactoryImpl) that is selected if no
+other implementation class name can be discovered. Its primary purpose is
+to create (as necessary) and return Log instances
+in response to calls to the getInstance()
method. The default
+implementation uses the following rules:
Log
instance of the same name will be created.
+ Subsequent getInstance()
calls to the same
+ LogFactory
instance, with the same name or Class
+ parameter, will return the same Log
instance.Log
instance must be created, the default
+ LogFactory
implementation uses the following discovery
+ process:
+ org.apache.commons.logging.Log
(for backwards
+ compatibility to pre-1.0 versions of this API, an attribute
+ org.apache.commons.logging.log
is also consulted).org.apache.commons.logging.Log
(for backwards
+ compatibility to pre-1.0 versions of this API, a system property
+ org.apache.commons.logging.log
is also consulted).LogFactory
class otherwise.Log
+ implementation class, passing the specified name as the single
+ argument to its constructor.See the SimpleLog JavaDocs for detailed +configuration information for this default implementation.
+ + +The basic principle is that the user is totally responsible for the +configuration of the underlying logging system. +Commons-logging should not change the existing configuration.
+ +Each individual Log implementation may +support its own configuration properties. These will be documented in the +class descriptions for the corresponding implementation class.
+ +Finally, some Log
implementations (such as the one for Log4J)
+require an external configuration file for the entire logging environment.
+This file should be prepared in a manner that is specific to the actual logging
+technology being used.
Use of the Logging Package APIs, from the perspective of an application +component, consists of the following steps:
+trace()
, debug()
,
+ info()
, warn()
, error
, and
+ fatal()
).For convenience, LogFactory
also offers a static method
+getLog()
that combines the typical two-step pattern:
+ Log log = LogFactory.getFactory().getInstance(Foo.class); ++
into a single method call:
++ Log log = LogFactory.getLog(Foo.class); ++ +
For example, you might use the following technique to initialize and +use a Log instance in an application component:
++import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +public class MyComponent { + + protected Log log = + LogFactory.getLog(MyComponent.class); + + // Called once at startup time + public void start() { + ... + log.info("MyComponent started"); + ... + } + + // Called once at shutdown time + public void stop() { + ... + log.info("MyComponent stopped"); + ... + } + + // Called repeatedly to process a particular argument value + // which you want logged if debugging is enabled + public void process(String value) { + ... + // Do the string concatenation only if logging is enabled + if (log.isDebugEnabled()) + log.debug("MyComponent processing " + value); + ... + } + +} +
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-tree.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-tree.html new file mode 100755 index 0000000..459b6bb --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-tree.html @@ -0,0 +1,146 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-use.html b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-use.html new file mode 100755 index 0000000..c4da83d --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/org/apache/commons/logging/package-use.html @@ -0,0 +1,203 @@ + + + + + +Package | +Description | +
---|---|
org.apache.commons.logging | +
+ Simple wrapper API around multiple logging APIs.
+ |
+
org.apache.commons.logging.impl | +
+ Concrete implementations of commons-logging wrapper APIs.
+ |
+
Class and Description | +
---|
Log
+ A simple logging interface abstracting logging APIs.
+ |
+
LogConfigurationException
+ An exception that is thrown only if a suitable
+LogFactory
+ or Log instance cannot be created by the corresponding
+ factory methods. |
+
LogFactory
+ Factory for creating
+Log instances, with discovery and
+ configuration features similar to that employed by standard Java APIs
+ such as JAXP. |
+
Class and Description | +
---|
Log
+ A simple logging interface abstracting logging APIs.
+ |
+
LogConfigurationException
+ An exception that is thrown only if a suitable
+LogFactory
+ or Log instance cannot be created by the corresponding
+ factory methods. |
+
LogFactory
+ Factory for creating
+Log instances, with discovery and
+ configuration features similar to that employed by standard Java APIs
+ such as JAXP. |
+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/overview-frame.html b/Client/bib/commons-logging-1.2-bin/apidocs/overview-frame.html new file mode 100755 index 0000000..60f569a --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/overview-frame.html @@ -0,0 +1,20 @@ + + + + + ++ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/overview-summary.html b/Client/bib/commons-logging-1.2-bin/apidocs/overview-summary.html new file mode 100755 index 0000000..f53b240 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/overview-summary.html @@ -0,0 +1,137 @@ + + + + + +
Package | +Description | +
---|---|
org.apache.commons.logging | +
+ Simple wrapper API around multiple logging APIs.
+ |
+
org.apache.commons.logging.impl | +
+ Concrete implementations of commons-logging wrapper APIs.
+ |
+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/overview-tree.html b/Client/bib/commons-logging-1.2-bin/apidocs/overview-tree.html new file mode 100755 index 0000000..5f379ed --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/overview-tree.html @@ -0,0 +1,168 @@ + + + + + +Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/package-list b/Client/bib/commons-logging-1.2-bin/apidocs/package-list new file mode 100755 index 0000000..7d2d655 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/package-list @@ -0,0 +1,2 @@ +org.apache.commons.logging +org.apache.commons.logging.impl diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/resources/background.gif b/Client/bib/commons-logging-1.2-bin/apidocs/resources/background.gif new file mode 100755 index 0000000..f471940 Binary files /dev/null and b/Client/bib/commons-logging-1.2-bin/apidocs/resources/background.gif differ diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/resources/tab.gif b/Client/bib/commons-logging-1.2-bin/apidocs/resources/tab.gif new file mode 100755 index 0000000..1a73a83 Binary files /dev/null and b/Client/bib/commons-logging-1.2-bin/apidocs/resources/tab.gif differ diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/resources/titlebar.gif b/Client/bib/commons-logging-1.2-bin/apidocs/resources/titlebar.gif new file mode 100755 index 0000000..17443b3 Binary files /dev/null and b/Client/bib/commons-logging-1.2-bin/apidocs/resources/titlebar.gif differ diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/resources/titlebar_end.gif b/Client/bib/commons-logging-1.2-bin/apidocs/resources/titlebar_end.gif new file mode 100755 index 0000000..3ad78d4 Binary files /dev/null and b/Client/bib/commons-logging-1.2-bin/apidocs/resources/titlebar_end.gif differ diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/serialized-form.html b/Client/bib/commons-logging-1.2-bin/apidocs/serialized-form.html new file mode 100755 index 0000000..7e0bf1a --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/serialized-form.html @@ -0,0 +1,322 @@ + + + + + +ReferenceQueue queue+
int changeCount+
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.
+ + diff --git a/Client/bib/commons-logging-1.2-bin/apidocs/stylesheet.css b/Client/bib/commons-logging-1.2-bin/apidocs/stylesheet.css new file mode 100755 index 0000000..0aeaa97 --- /dev/null +++ b/Client/bib/commons-logging-1.2-bin/apidocs/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/Client/bib/commons-logging-1.2-bin/commons-logging-1.2-javadoc.jar b/Client/bib/commons-logging-1.2-bin/commons-logging-1.2-javadoc.jar new file mode 100755 index 0000000..05eb3ed Binary files /dev/null and b/Client/bib/commons-logging-1.2-bin/commons-logging-1.2-javadoc.jar differ diff --git a/Client/bib/commons-logging-1.2-bin/commons-logging-1.2.jar b/Client/bib/commons-logging-1.2-bin/commons-logging-1.2.jar new file mode 100755 index 0000000..93a3b9f Binary files /dev/null and b/Client/bib/commons-logging-1.2-bin/commons-logging-1.2.jar differ diff --git a/Client/bib/jdatepicker-1.3.4.jar b/Client/bib/jdatepicker-1.3.4.jar new file mode 100755 index 0000000..a716259 Binary files /dev/null and b/Client/bib/jdatepicker-1.3.4.jar differ diff --git a/Client/bib/postgresql-9.4.1212.jre6.jar b/Client/bib/postgresql-9.4.1212.jre6.jar new file mode 100755 index 0000000..153dd8f Binary files /dev/null and b/Client/bib/postgresql-9.4.1212.jre6.jar differ diff --git a/Client/bib/sqlite.jar b/Client/bib/sqlite.jar new file mode 100644 index 0000000..9d4b5bb Binary files /dev/null and b/Client/bib/sqlite.jar differ diff --git a/Client/build.gradle b/Client/build.gradle index efeac5f..a13d29c 100644 --- a/Client/build.gradle +++ b/Client/build.gradle @@ -12,4 +12,6 @@ targetCompatibility = 1.8 dependencies { compile "org.jdatepicker:jdatepicker:1.3.4" + compile "org.json:json:20090211" + compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.16.1' } diff --git a/Client/datenbankentwurf/datenbanken b/Client/datenbankentwurf/datenbanken new file mode 100644 index 0000000..1eb10b9 --- /dev/null +++ b/Client/datenbankentwurf/datenbanken @@ -0,0 +1,72 @@ + Table "public.agent" + Column | Type | Modifiers +-----------+---------------+----------- + agentid | integer | not null + agentname | character(25) | not null +Indexes: + "agent_pkey" PRIMARY KEY, btree (agentid) + + + Table "public.customer" + Column | Type | Modifiers +--------------+---------------+----------- + customerid | integer | not null + customername | character(25) | not null + fonnr | character(12) | + email | character(25) | + hotelname | character(25) | + hotelroom | character(10) | +Indexes: + "customer_pkey" PRIMARY KEY, btree (customerid) + + + Table "public.quota" + Column | Type | Modifiers +------------+---------+----------- + tourid | integer | not null + agentid | integer | not null + countseats | integer | not null +Indexes: + "quota_pkey" PRIMARY KEY, btree (tourid, agentid) + + + Table "public.reservation" + Column | Type | Modifiers +------------+---------+----------- + tourid | integer | not null + customerid | integer | not null + countseats | integer | not null +Indexes: + "reservation_pkey" PRIMARY KEY, btree (tourid, customerid) + + + Table "public.route" + Column | Type | Modifiers +------------+---------------+----------- + routeid | integer | not null + routenname | character(25) | +Indexes: + "route_pkey" PRIMARY KEY, btree (routeid) + + + Table "public.ship" + Column | Type | Modifiers +----------+---------------+----------- + shipid | integer | not null + shipname | character(25) | not null + seats | integer | not null +Indexes: + "ship_pkey" PRIMARY KEY, btree (shipid) + + + Table "public.tour" + Column | Type | Modifiers +----------+---------------+----------- + tourid | integer | not null + tourdate | date | not null + tourname | character(25) | not null + shipid | integer | not null + routeid | integer | not null +Indexes: + "tour_pkey" PRIMARY KEY, btree (tourid) + diff --git a/Client/src/.classpath b/Client/src/.classpath new file mode 100644 index 0000000..3516534 --- /dev/null +++ b/Client/src/.classpath @@ -0,0 +1,12 @@ + +