| java.lang.Object com.sun.jbi.management.util.SharedLibraryValidator
SharedLibraryValidator | public class SharedLibraryValidator implements Validator(Code) | | Validator for a shared library archives.
author: Sun Microsystems, Inc |
Method Summary | |
public void | validate(java.io.File archivePath) Perform archive validation based on the type of the archive. |
SharedLibraryValidator | public SharedLibraryValidator(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. |
|
|