Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 765 for Clauss (0.31 sec)

  1. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
            sessionScope.enter();
            sessionScope.seed(Session.class, this.session);
            assertNotNull(bean.myBean.getSession());
            assertNotNull(bean.myBean.getAnotherBean());
            assertSame(bean.myBean.getAnotherBean().getClass(), AnotherBean.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java

        protected void configure() {
            bindScope(SessionScoped.class, scope);
            // bindScope(org.apache.maven.api.di.SessionScoped.class, scope);
            bind(SessionScope.class).toInstance(scope);
    
            bind(MavenSession.class)
                    .toProvider(SessionScope.seededKeyProvider(MavenSession.class))
                    .in(scope);
            bind(Session.class)
                    .toProvider(SessionScope.seededKeyProvider(Session.class))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <p>
         * Shortcut for {@code getService(TypeRegistry.class).require(...)}.
         *
         * @see org.apache.maven.api.services.TypeRegistry#require(String)
         */
        @Nonnull
        Type requireType(@Nonnull String id);
    
        /**
         * Obtain the {@link Language} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(LanguageRegistry.class).require(...)}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    .distinct()
                    .forEach(key -> {
                        Class<?> clazz = key.getRawType();
                        Class<Object> itf = (clazz.isInterface()
                                ? null
                                : (Class<Object>) (clazz.getInterfaces().length > 0 ? clazz.getInterfaces()[0] : clazz));
                        if (itf != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

        String getConfigurationElement();
    
        /**
         * Gets the class loader from which to load any types referenced by the configuration. If unset, the class loader of
         * the bean class will be used.
         *
         * @return The class loader to load referenced types from or {@code null} if unset.
         */
        ClassLoader getClassLoader();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            return new ProjectModelResolver(
                    repoSession,
                    null,
                    getContainer().lookup(RepositorySystem.class),
                    getContainer().lookup(RemoteRepositoryManager.class),
                    this.getRemoteRepositories(),
                    ProjectBuildingRequest.RepositoryMerging.REQUEST_DOMINANT,
                    null,
                    null);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        /**
         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
            return new Key<>(clazz, id);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.when;
    
    class ConsumerPomArtifactTransformerTest {
    
        @Test
        void transform() throws Exception {
            RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class);
            SessionData sessionDataMock = Mockito.mock(SessionData.class);
            when(systemSessionMock.getData()).thenReturn(sessionDataMock);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/ExtensibleEnumRegistries.java

    import org.apache.maven.SessionScoped;
    import org.apache.maven.api.*;
    import org.apache.maven.api.services.*;
    import org.apache.maven.api.spi.*;
    
    public class ExtensibleEnumRegistries {
    
        @Named
        @SessionScoped
        public static class DefaultPathScopeRegistry extends DefaultExtensibleEnumRegistry<PathScope, PathScopeProvider>
                implements PathScopeRegistry {
    
            @Inject
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                // TODO: get those from the existing plexus scopes ?
                injector.bindInstance(Session.class, sessionV4);
                injector.bindInstance(Project.class, project);
                injector.bindInstance(org.apache.maven.api.MojoExecution.class, execution);
                injector.bindInstance(org.apache.maven.api.plugin.Log.class, log);
                mojo = mojoInterface.cast(injector.getInstance(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top