jfun.yan
Interface Verifiable

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
Creator<T>
All Known Implementing Classes:
Component, Creator2Component, DecoratingComponent, DelegatingComponent, SimpleComponent

public interface Verifiable
extends java.io.Serializable

Represents any thing that can be verified.

Codehaus.org.

Author:
Ben Yu

Method Summary
 java.lang.Class verify(Dependency dep)
          Verifies that the component's dependencies are satisfiable.
 

Method Detail

verify

java.lang.Class verify(Dependency dep)
                       throws IrresolveableArgumentException,
                              ParameterTypeMismatchException,
                              AmbiguousComponentResolutionException,
                              YanException
Verifies that the component's dependencies are satisfiable.

Parameters:
dep - the provider that provides all dependent information.
Throws:
IrresolveableArgumentException - when any of the arguments is not resolveable.
ParameterTypeMismatchException - when any of the arguments do not match the expectec type.
AmbiguousComponentResolutionException - when resolution of any of the arguments has ambiguity.
ComponentException - error when resolving any of the arguments.
YanException - any error.