org.apache.avalon.meta.info.verifier
Interface Verifier


public interface Verifier

The Verifier interface is used to allow service providers to ensure that the meta information for the type or service is correct. The validation process may go so far as to ensure all the classes referenced actually exist, although this is not necessary.

Version:
CVS $Revision: 1.1 $
Author:
Berin Loritsch

Method Summary
 boolean isServiceValid(Service service)
          Validate a service using the supplied Service information.
 boolean isTypeValid(Type type)
          Validate a type using the supplied Type information.
 

Method Detail

isTypeValid

public boolean isTypeValid(Type type)
Validate a type using the supplied Type information.

Parameters:
type - The type we need to verify
Returns:
true if it is valid

isServiceValid

public boolean isServiceValid(Service service)
Validate a service using the supplied Service information.

Parameters:
service - The service we need to verify
Returns:
true if it is valid


Copyright © Apache Software Foundation. All Rights Reserved.