Package org.apache.openejb.jee.bval

Examples of org.apache.openejb.jee.bval.ValidationConfigType


        return reference;
    }

    @Override
    public ValidationConfigType createEmpty() {
        return new ValidationConfigType();
    }
View Full Code Here


        }

        final Source value = getSource(module.getAltDDs().get("validation.xml"));
        if (value != null) {
            try {
                ValidationConfigType validationConfigType = JaxbOpenejb.unmarshal(ValidationConfigType.class, ((Source) value).get(), false);
                module.setValidationConfig(validationConfigType);
            } catch (Exception e) {
                logger.warning("can't read validation.xml to construct a validation factory, it will be ignored");
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.openejb.jee.bval.ValidationConfigType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.