Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 6,307 for session (0.28 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                MavenSession session = new MavenSession(closeableSession, request, result);
                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
                sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbTreeConnection.java

                    if ( Objects.equals(loc.getShare(), t.getShare()) ) {
                        try ( SmbSessionImpl session = t.getSession() ) {
                            targetDomain = session.getTargetDomain();
                            if ( !session.isFailed() ) {
                                try ( SmbTransportImpl trans = session.getTransport();
                                      SmbTreeImpl ct = connectTree(loc, host, t.getShare(), trans, t, null) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            return artifactFactory.createParentArtifact(groupId, artifactId, version);
        }
    
        public Artifact createPluginArtifact(Plugin plugin) {
            String version = plugin.getVersion();
            if (version == null || version.isEmpty()) {
                version = "RELEASE";
            }
    
            VersionRange versionRange;
            try {
                versionRange = VersionRange.createFromVersionSpec(version);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial002_an_py310.py

        hero_db.sqlmodel_update(hero_data)
        session.add(hero_db)
        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: SessionDep):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                    .artifacts(nonNull(artifacts, "artifacts cannot be null"))
                    .build();
        }
    
        @NotThreadSafe
        class ArtifactInstallerRequestBuilder {
            Session session;
            Collection<ProducedArtifact> artifacts = Collections.emptyList();
    
            ArtifactInstallerRequestBuilder() {}
    
            @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            try {
                ToolchainsBuilderResult result = builder.build(ToolchainsBuilderRequest.builder()
                        .session((Session) java.lang.reflect.Proxy.newProxyInstance(
                                Session.class.getClassLoader(),
                                new Class[] {Session.class},
                                (Object proxy, Method method, Object[] args) -> {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    
            // warm up
            test(listener, session, resource, 0);
    
            for (int i = 1; i < size; i++) {
                final int bytes = i;
    
                service.execute(() -> {
                    test(listener, session, resource, bytes);
                });
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    public class DefaultMojoExecution implements MojoExecution {
        private final InternalMavenSession session;
        private final org.apache.maven.plugin.MojoExecution delegate;
    
        public DefaultMojoExecution(InternalMavenSession session, org.apache.maven.plugin.MojoExecution delegate) {
            this.session = session;
            this.delegate = delegate;
        }
    
        public org.apache.maven.plugin.MojoExecution getDelegate() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial001_an_py39.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            MavenSession session = legacySupport.getSession();
            if (session != null) {
                request.setRepositorySession(session.getRepositorySession());
                request.setSystemProperties(session.getSystemProperties());
                if (request.getUserProperties().isEmpty()) {
                    request.setUserProperties(session.getUserProperties());
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top