Package net.sf.mmm.util.component

Contains useful classes for implementing components.

See:
          Description

Class Summary
AbstractComponent This is the abstract base class for a component that needs initialization.
AbstractLoggable This is the abstract base class for a component that needs a logger.
InitializationState This class represents the state of an initialization.
 

Exception Summary
AlreadyInitializedException This is the exception thrown if an operation was invoked after the object was initialized but has to be called before initialization.
NotInitializedException This is the exception thrown if an operation was invoked before the object was initialized but has to be called after initialization.
ResourceMissingException This is the exception thrown if a resource is required but is NOT available.
 

Package net.sf.mmm.util.component Description

Contains useful classes for implementing components.

Component Utilities

With JSR 250 (commons-annotations) it is very easy to write components and therefore component-oriented applications.
This package provides some common runtime exceptions for typical errors of components (or whatever you call it).
Additionally InitializationState can be used to implement a component that requires strict initialization and wants to ensure that some methods have to be called before and others after initialization.



Copyright © 2001-2008 mmm-Team. All Rights Reserved.