Package com.sun.enterprise.deployment.web

Examples of com.sun.enterprise.deployment.web.ErrorPageDescriptor


    protected static void configureErrorPage(WebModule webModule,
                                      WebBundleDescriptor wmd) {
           
       Enumeration enumeration = wmd.getErrorPageDescriptors();
      
       ErrorPageDescriptor errorPageDesc;
       ErrorPageDecorator decorator;
       while (enumeration.hasMoreElements()){
            errorPageDesc = (ErrorPageDescriptor)enumeration.nextElement();
            decorator = new ErrorPageDecorator(errorPageDesc);
            webModule.addErrorPage(decorator);
View Full Code Here


       
        results.addAll(getVerifierContext().getFacesConfigDescriptor().getManagedBeanClasses());
       
        Enumeration en = descriptor.getErrorPageDescriptors();
        while (en.hasMoreElements()) {
            ErrorPageDescriptor errorPageDescriptor = (ErrorPageDescriptor) en.nextElement();
            String exceptionType = errorPageDescriptor.getExceptionType();
            if (exceptionType != null && !exceptionType.equals(""))
                results.add(exceptionType);
        }
       
        File file = getVerifierContext().getOutDir();
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.web.ErrorPageDescriptor

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.