Return-Path:
The standard Java libraries provides for some very common design
patterns - Comparator/Comparable, EventListener, Observer/Observable, Cloneable and Runnable
However, other generic pattern concepts are not supported. The Pattern
Package provides these extra pattern interfaces. It also provides reference
implementations and utilities for the additional interfaces and those interfaces in Java. This proposal is to create a package to support low level pattern interfaces.
To be included an interface must be simple, have wide potential applicability,
and not require a framework. This package also includes utility/reference implementation classes for the pattern
interfaces and those pattern classes in java.lang and java.util. Pattern relies only on standard JDK 1.2 (or later) APIs for
production deployment. It utilizes the JUnit unit testing framework for
developing and executing unit tests, but this is of interest only to
developers of the component. Patterns will be a dependency for
several existing components in the open source world. No external configuration files are utilized. Some initial classes came from the Commons.Collections and Commons.Util subprojects. The proposed package names for the new component are
The initial committers on the Lang component shall be as follows:
Proposal for Pattern Package
(0) Rationale
(1) Scope of the Package
(1.5) Interaction With Other Packages
(2) Initial Source of the Package
org.apache.commons.pattern.xxx
where xxx is the pattern interface name,
such as org.apache.commons.pattern.comparator
.(3) Required Jakarta-Commons Resources
pattern
in the
jakarta-commons
CVS repository.(4) Initial Committers