Examples of include()


Examples of org.apache.catalina.core.ApplicationDispatcher.include()

                    servletContext.getRequestDispatcher(errorPage.getLocation());

                if (hres.isCommitted()) {
                    // Response is committed - including the error page is the
                    // best we can do
                    dispatcher.include(sreq, sres);
                } else {
                    // Reset the response (keeping the real error code and message)
                    response.resetBuffer(true);

                    dispatcher.dispatch(sreq, sres, DispatcherType.ERROR);
View Full Code Here

Examples of org.apache.isis.core.runtime.snapshot.XmlSnapshot.include()

    public XmlSnapshot build() {
        final ObjectAdapter adapter = getAdapterMap().adapterFor(snapshottable);
        final XmlSnapshot snapshot = (schema != null) ? new XmlSnapshot(adapter, schema) : new XmlSnapshot(adapter);
        for (final XmlSnapshotBuilder.PathAndAnnotation paa : paths) {
            if (paa.annotation != null) {
                snapshot.include(paa.path, paa.annotation);
            } else {
                snapshot.include(paa.path);
            }
        }
        return snapshot;
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.AndArtifactFilter.include()

                archiver.addArchivedFileSet( inputFile );
            }

            for ( final Artifact a : (Set<Artifact>) project.getArtifacts() )
            {
                if ( filter.include( a ) )
                {
                    try
                    {
                        archiver.addArchivedFileSet( a.getFile(), null, META_INF_EXCLUDES );
                    }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ArtifactFilter.include()

    {
        boolean include = false;
        for (final Iterator iterator = this.filters.iterator(); iterator.hasNext();)
        {
            ArtifactFilter filter = (ArtifactFilter)iterator.next();
            if (filter.include(artifact))
            {
                include = true;
                break;
            }
        }
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ArtifactFilter.include()

            for ( ResolutionNode node : result.getArtifactResolutionNodes() )
            {
                Artifact artifact = node.getArtifact();

                if ( resolutionFilter == null || resolutionFilter.include( artifact ) )
                {
                    ArtifactResolutionRequest childRequest = new ArtifactResolutionRequest( request );
                    childRequest.setRemoteRepositories( node.getRemoteRepositories() );

                    executor.execute( new ResolveTask( classLoader, latch, artifact, transferListener, childRequest,
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ArtifactFilter.include()

            // MNG-3769: It would be nice to be able to process relocations here,
            // so we could have this filtering step apply to post-relocated dependencies.
            // HOWEVER, this would require a much more invasive POM resolution process
            // in order to look for relocations, which would make the early steps in
            // a Maven build way too heavy.
            if ( artifact != null && ( artifactFilter == null || artifactFilter.include( artifact ) ) )
            {
                if ( d.getExclusions() != null && !d.getExclusions().isEmpty() )
                {
                    List exclusions = new ArrayList();
                    for ( Iterator j = d.getExclusions().iterator(); j.hasNext(); )
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ArtifactFilter.include()

            // MNG-3769: It would be nice to be able to process relocations here,
            // so we could have this filtering step apply to post-relocated dependencies.
            // HOWEVER, this would require a much more invasive POM resolution process
            // in order to look for relocations, which would make the early steps in
            // a Maven build way too heavy.
            if ( artifact != null && ( artifactFilter == null || artifactFilter.include( artifact ) ) )
            {
                if ( dependency.getExclusions() != null && !dependency.getExclusions().isEmpty() )
                {
                    List<String> exclusions = new ArrayList<String>();
                    for ( Object o : dependency.getExclusions() )
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ExcludesArtifactFilter.include()

                    jars.add( JAR_FILE_PREFIX + a.getFile().getAbsolutePath() + SPRING_CONTEXT_LOC );
                    jars.add( JAR_FILE_PREFIX + a.getFile().getAbsolutePath() + PLEXUS_XML_LOC );
                    jarUrls.add( new URL( FILE_PREFIX + a.getFile().getAbsolutePath() ) );
                }
            }
            else if ( filter.include( a ) )
            {
                LOGGER.debug( "Adding artifact: " + a.getFile() );
                jars.add( JAR_FILE_PREFIX + a.getFile().getAbsolutePath() + SPRING_CONTEXT_LOC );
                jars.add( JAR_FILE_PREFIX + a.getFile().getAbsolutePath() + PLEXUS_XML_LOC );
                jarUrls.add( new URL( FILE_PREFIX + a.getFile().getAbsolutePath() ) );
View Full Code Here

Examples of org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter.include()

            }
            if (artifacts != null) {
                for (Artifact artifact : artifacts) {

                    ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_RUNTIME);
                    if (!artifact.isOptional() && filter.include(artifact)) {
                        getLog().info("Copying artifact[" + artifact.getGroupId() + ", " + artifact.getId() + ", " +
                                artifact.getScope() + "]");
                        zipArchiver.addFile(artifact.getFile(), artifact.getArtifactId() + "-" + artifact.getVersion() + "." + (artifact.getType() == null ? "jar" : artifact.getType()));
                    }
                }             
View Full Code Here

Examples of org.apache.tapestry.beaneditor.BeanModel.include()

    @Test
    public void modify_include()
    {
        BeanModel model = mockBeanModel();

        expect(model.include("fred", "wilma")).andReturn(model);

        replay();

        BeanModelUtils.modify(model, null, "fred,wilma", null, null);
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.