Package com.partnersoft.core

Fundamental, high-level pattern and infrastructure classes and interfaces.

See: Description

Package com.partnersoft.core Description

Fundamental, high-level pattern and infrastructure classes and interfaces.

This is the most general package, with no dependencies on anything other than java.lang classes. It is intended to be useful on any Java platform, including J2ME or other small environments. It is also used by our other generic packages like com.partnersoft.data, that cannot depend on e.g. com.partnersoft.system because it would cause a circular dependency.

DO NOT add anything to this package that depends on external jars, anything outside of java.lang, etc.

Classes and interfaces in this package fall into two categories.

"Pattern marker interfaces" are used to indicate that class or subinterface is designed to implement a design pattern, such as those described in the classic book Design Patterns by Gamma, Helm, Johnson, and Vlissides. Examples include Lib, Singleton, and Immutable. While not critical to actual implementation, these markers do help others to understand the role and behavior of classes in the system, and serve to extend the Java language a bit, since it has no formal way to enforce these patterns.

"Generic infrastructure" classes are provided to allow pluggable, platform- or environment-specific implementations of common infrastructures. At present, Log is the only example; it is designed as a wrapper around the actual logging framework so that we don't have to have dependencies on log4j or java.util.logging in our most generic code.

Copyright 2006 Partner Software, Inc.

Author:
Paul Reavis, Russell Cagle