Package org.jboss.as.web.common

Examples of org.jboss.as.web.common.ServletContextAttribute


                } else {
                    throw new DeploymentUnitProcessingException(JSFLogger.ROOT_LOGGER.invalidAnnotationLocation(annotation, target));
                }
            }
        }
        deploymentUnit.addToAttachmentList(ServletContextAttribute.ATTACHMENT_KEY, new ServletContextAttribute(FACES_ANNOTATIONS_SC_ATTR, instances));
    }
View Full Code Here


        // Get the CDI-enabled ValidatorFactory and add it to the servlet context
        ValidatorFactory validatorFactory = deploymentUnit.getAttachment(BeanValidationAttachments.VALIDATOR_FACTORY);

        deploymentUnit.addToAttachmentList(ServletContextAttribute.ATTACHMENT_KEY,
                new ServletContextAttribute(VALIDATOR_FACTORY_KEY, validatorFactory));
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.web.common.ServletContextAttribute

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.