Examples of pushHandler()


Examples of au.org.intersect.samifier.parser.mzidentml.MzidReader.pushHandler()

    public List<PeptideSearchResult> parseMascotPeptideSearchResultsMzidentMLFormat(
            File resultsFile) throws MascotParsingException {
        MzidReader reader = new MzidReader(resultsFile);
        MzIdentMLHandler mzIdentMLHandler = new MzIdentMLHandler(reader);
        reader.pushHandler(mzIdentMLHandler);
        return reader.run();
    }

    public List<PeptideSearchResult> sortResultsByChromosome(
            List<PeptideSearchResult> searchResult,
View Full Code Here

Examples of com.sun.enterprise.deployment.annotation.ProcessingContext.pushHandler()

                    }
                }
                ResourceContainerContextImpl newContext = new ResourceContainerContextImpl(jndiContainer);
                ProcessingContext ctx = annInfo.getProcessingContext();
               
                ctx.pushHandler(newContext);
                // process the classes
                annInfo.getProcessingContext().getProcessor().process(
                        annInfo.getProcessingContext(),
                        handlerClasses.toArray(new Class[0]));
View Full Code Here

Examples of com.sun.enterprise.deployment.annotation.ProcessingContext.pushHandler()

        // process resource related annotations
        EjbInterceptorContext ejbInterceptorContext =
            new EjbInterceptorContext(interceptor);
        ProcessingContext procContext = ainfo.getProcessingContext();
        procContext.pushHandler(ejbInterceptorContext);
        procContext.getProcessor().process(
            procContext, new Class[] { interceptorClass });
        return;
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.annotation.ProcessingContext.pushHandler()

            if (!scanner.getElements().isEmpty()) {
                AnnotationProcessor ap = SipHandlerFactory.getAnnotationProcessor();
                ProcessingContext ctx = ap.createContext();

                ctx.setProcessingInput(scanner);
                ctx.pushHandler(aeHandler);
                ap.process(ctx);
                postProcessAnnotations();
            }
        } catch (DeploymentException e) {
            throw e;
View Full Code Here

Examples of com.sun.enterprise.deployment.annotation.ProcessingContext.pushHandler()

            if (!scanner.getElements().isEmpty()) {
                AnnotationProcessor ap = SipHandlerFactory.getAnnotationProcessor();
                ProcessingContext ctx = ap.createContext();

                ctx.setProcessingInput(scanner);
                ctx.pushHandler(aeHandler);
                ap.process(ctx);
               
                // Check if there are Servlets or Listeners. XXX: Should the check for Servlets alone be not
                // enough?
                if ((!dummySbd.getSipApplication().getAnnotatedServlets().isEmpty()) ||
View Full Code Here

Examples of com.sun.enterprise.deployment.annotation.ProcessingContext.pushHandler()

            ProcessingContext ctx = ap.createContext();
            if (annotationErrorHandler != null) {
                ctx.setErrorHandler(annotationErrorHandler);
            }
            ctx.setProcessingInput(scanner);
            ctx.pushHandler(aeHandler);
           
            // Make sure there is a classloader available on the descriptor
            // during annotation processing.
            ClassLoader originalBundleClassLoader = null;
            try {
View Full Code Here

Examples of org.glassfish.apf.ProcessingContext.pushHandler()

        // process resource related annotations
        EjbInterceptorContext ejbInterceptorContext =
            new EjbInterceptorContext(interceptor);
        ProcessingContext procContext = ainfo.getProcessingContext();
        procContext.pushHandler(ejbInterceptorContext);
        procContext.getProcessor().process(
            procContext, new Class[] { interceptorClass });
        return;
    }
View Full Code Here

Examples of org.glassfish.apf.ProcessingContext.pushHandler()

                    }
                }
                ResourceContainerContextImpl newContext = new ResourceContainerContextImpl(jndiContainer);
                ProcessingContext ctx = annInfo.getProcessingContext();
               
                ctx.pushHandler(newContext);
                // process the classes
                annInfo.getProcessingContext().getProcessor().process(
                        annInfo.getProcessingContext(),
                        handlerClasses.toArray(new Class[0]));
View Full Code Here

Examples of org.glassfish.apf.ProcessingContext.pushHandler()

        // process resource related annotations
        EjbInterceptorContext ejbInterceptorContext =
            new EjbInterceptorContext(interceptor);
        ProcessingContext procContext = ainfo.getProcessingContext();
        procContext.pushHandler(ejbInterceptorContext);
        procContext.getProcessor().process(
            procContext, new Class[] { interceptorClass });
        return;
    }
View Full Code Here

Examples of org.glassfish.apf.ProcessingContext.pushHandler()

        // process resource related annotations
        EjbInterceptorContext ejbInterceptorContext =
            new EjbInterceptorContext(interceptor);
        ProcessingContext procContext = ainfo.getProcessingContext();
        procContext.pushHandler(ejbInterceptorContext);
        procContext.getProcessor().process(
            procContext, new Class[] { interceptorClass });
        return;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.