1 23 24 28 29 package com.sun.enterprise.tools.common.validation; 30 31 import com.sun.enterprise.tools.common.validation.util.ObjectFactory; 32 import com.sun.enterprise.tools.common.validation.ValidationManager; 33 34 35 45 46 public class ValidationManagerFactory { 47 48 49 50 public ValidationManagerFactory(){ 51 } 52 53 54 61 public ValidationManager getValidationManager(){ 62 return (ValidationManager) ObjectFactory.newInstance( 63 "com.sun.enterprise.tools.common.validation." + "ValidationManager"); } 66 67 68 77 public ValidationManager getValidationManager(String validationFile){ 78 return (ValidationManager) ObjectFactory.newInstance( 79 "com.sun.enterprise.tools.common.validation." + "ValidationManager", validationFile); } 82 } 83 | Popular Tags |