SearchWiki
Heuristics.RecentChanges
Edit Page
Page Revisions
Home
Design Patterns
Heuristics
Software Development
Software Process


Patterns
TheIntroduction LogicalDesign PhysicalDesign PatternFoundations GuidelinesAndMyths ReferenceImplementation DependencyPatterns UsabilityPatterns ExtensibilityPatterns MaintenancePatterns AntiPatterns UtilitiesAndTools

AllPatterns

Name

AbstractComponents

Statement

Depend upon the abstract elements of a component.

Sketch

Description

Implementation Variations

If the intent is to allow others to replace your implementation completely, without modifying how they interact with the component, then the component's interface and default implementation should be placed into separate jar files.

If the intent is to allow others to extend your implementation by plugging in implementations for abstractions, then the component's interface and default implementation can be placed into a single jar file.

Consequences

Sample Code

Related Pattern(s)


Edit Page - Page Revisions - WikiHelp - SearchWiki - RecentChanges
Page last modified on October 25, 2004, at 09:23 PM