Package net.sf.staccatocommons.io.internal.lifecycle

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.

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.
 

Package net.sf.staccatocommons.io.internal.lifecycle Description

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.



Copyright © 2010-2012 Staccatocommons. All Rights Reserved.