Package org.glassfish.apf

Examples of org.glassfish.apf.HandlerProcessingResult


        MessageDriven mdAn = (MessageDriven)ainfo.getAnnotation();
        Class ejbClass = (Class)ainfo.getAnnotatedElement();
        EjbMessageBeanDescriptor ejbMsgBeanDesc =
                (EjbMessageBeanDescriptor)ejbDesc;
  
        HandlerProcessingResult procResult =
            setMessageListenerInterface(
                    mdAn, ejbMsgBeanDesc, ejbClass, ainfo);

        doDescriptionProcessing(mdAn.description(), ejbMsgBeanDesc);
        doMappedNameProcessing(mdAn.mappedName(), ejbMsgBeanDesc);
View Full Code Here


        List<HandlerProcessingResult> results = new ArrayList<HandlerProcessingResult>();

        for(WebServiceRef wsRef : wsRefAnnotations) {
            results.add(processAWsRef(ainfo, wsRef));
        }
        HandlerProcessingResult finalResult = null;
        for (HandlerProcessingResult result : results) {
            if (finalResult == null ||
                    (result.getOverallResult().compareTo(
                    finalResult.getOverallResult()) > 0)) {
                finalResult = result;
            }
        }
        return finalResult;
    }
View Full Code Here

            ejbInterceptorContext = (EjbInterceptorContext)aeHandler;
        } else {
            return getInvalidAnnotatedElementHandlerResult(aeHandler, ainfo);
        }

        HandlerProcessingResult procResult = null;

        if (ejbInterceptorContext != null) {
            procResult = processAnnotation(ainfo, ejbInterceptorContext);
        } else {
            procResult = processAnnotation(ainfo, ejbContexts);
View Full Code Here

        // in order to handle the case that a bean class has both a component-defining
        // annotation and there are other ejb-jar.xml-defined beans with the same bean class.

       
        EjbDescriptor[] ejbDescs = currentBundle.getEjbByClassName(ejbClass.getName());
        HandlerProcessingResult procResult = null;
        for(EjbDescriptor next : ejbDescs) {
            procResult = setEjbDescriptorInfo(next, ainfo);
            doTimedObjectProcessing(ejbClass, next);              
        }
View Full Code Here

        List<HandlerProcessingResult> results = new ArrayList<HandlerProcessingResult>();

        for(WebServiceRef wsRef : wsRefAnnotations) {
            results.add(processAWsRef(ainfo, wsRef));
        }
        HandlerProcessingResult finalResult = null;
        for (HandlerProcessingResult result : results) {
            if (finalResult == null ||
                    (result.getOverallResult().compareTo(
                    finalResult.getOverallResult()) > 0)) {
                finalResult = result;
            }
        }
        return finalResult;
    }
View Full Code Here

        throws AnnotationProcessorException
    {
       
        AnnotatedElementHandler handler = ctx.getHandler();
        logStart(handler, type, element);
        HandlerProcessingResult result = processAnnotations(ctx, element);
        logEnd(handler, type, element);

        dumpProcessingResult(result);                   
       
        return result;
View Full Code Here

                    }
                }
               
                // at this point, all annotation that I declared depending on
                // are processed
                HandlerProcessingResult processingResult = null;
                try {
                    processingResult = handler.processAnnotation(element);
                } catch(AnnotationProcessorException ape) {
                    // I am logging this exception
                    log(Level.SEVERE, ape.getLocator(), ape.getMessage());
View Full Code Here

        // in order to handle the case that a bean class has both a component-defining
        // annotation and there are other ejb-jar.xml-defined beans with the same bean class.

       
        EjbDescriptor[] ejbDescs = currentBundle.getEjbByClassName(ejbClass.getName());
        HandlerProcessingResult procResult = null;
        for(EjbDescriptor next : ejbDescs) {
            procResult = setEjbDescriptorInfo(next, ainfo);
            doTimedObjectProcessing(ejbClass, next);              
        }
View Full Code Here

        List<HandlerProcessingResult> results = new ArrayList<HandlerProcessingResult>();

        for(WebServiceRef wsRef : wsRefAnnotations) {
            results.add(processAWsRef(ainfo, wsRef));
        }
        HandlerProcessingResult finalResult = null;
        for (HandlerProcessingResult result : results) {
            if (finalResult == null ||
                    (result.getOverallResult().compareTo(
                    finalResult.getOverallResult()) > 0)) {
                finalResult = result;
            }
        }
        return finalResult;
    }
View Full Code Here

        List<HandlerProcessingResult> results = new ArrayList<HandlerProcessingResult>();

        for(WebServiceRef wsRef : wsRefAnnotations) {
            results.add(processAWsRef(ainfo, wsRef));
        }
        HandlerProcessingResult finalResult = null;
        for (HandlerProcessingResult result : results) {
            if (finalResult == null ||
                    (result.getOverallResult().compareTo(
                    finalResult.getOverallResult()) > 0)) {
                finalResult = result;
            }
        }
        return finalResult;
    }
View Full Code Here

TOP

Related Classes of org.glassfish.apf.HandlerProcessingResult

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.