|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Lifecycle
and CloseableLifecycle,
classes that help to automate handling of resources which need to be initialized
before being used, and then disposed.
See:
Description
| Class Summary | |
|---|---|
| CloseableLifecycle<TargetType extends Closeable,ReturnType> | Abstract Lifecycle that closes target on disposing it. |
| Lifecycle<ResourceType,ResultType> | A Lifecycle is a logic of initialization, use and dispose of a
resource , that can be executed as a single unit of work. |
This package contains Lifecycle
and CloseableLifecycle,
classes that help to automate handling of resources which need to be initialized
before being used, and then disposed.
This package has a similar intention of JDK7 proposal for a try-catch
with automated close of resources, so it may become deprecated in the near future.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||