mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-23 20:26:50 +00:00
fbb12b53ba
I did the job and splitted up the readme, hopefully everything was splitted correctly...
15 lines
524 B
Markdown
15 lines
524 B
Markdown
---
|
|
layout: pattern
|
|
title: Resource Acquisition Is Initialization
|
|
folder: resource-acquisition-is-initialization
|
|
categories: pattern_cat
|
|
tags: pattern_tag
|
|
---
|
|
|
|
**Intent:** Resource Acquisition Is Initialization pattern can be used to implement exception safe resource management.
|
|
|
|

|
|
|
|
**Applicability:** Use the Resource Acquisition Is Initialization pattern when
|
|
|
|
* you have resources that must be closed in every condition |