| java.lang.Object com.sun.jbi.management.util.ComponentValidator
ComponentValidator | public class ComponentValidator implements Validator(Code) | | Validator for component archives.
author: Sun Microsystems, Inc |
Method Summary | |
public void | validate(java.io.File archivePath) Perform archive validation based on the type of the archive. |
ComponentValidator | public ComponentValidator(EnvironmentContext envCtx, boolean validate) throws Exception(Code) | | Parameters: ctx - - the environment context Parameters: validate - - flag to indicate whether jbi.xml should be validated basedon the schema |
validate | public void validate(java.io.File archivePath) throws Exception(Code) | | Perform archive validation based on the type of the archive.
Parameters: archivePath - - absolute path to the archive. throws: Exception - if the archive is not valid. The exception message has the details on what caused validation to fail. |
|
|