Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for bean3 (0.04 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            registry.registerInstance("bean1", new Bean(name: "bean1 unmodified"))
            registry.registerInstance("beans", new Bean(name: "beans"))
            registry.registerModelMap("otherBeans", Bean) { it.registerFactory(Bean) { new Bean(name: it + " unmodified") } }
            registry.mutate {
                it.path "otherBeans" type mmType action { beans ->
                    beans.create("bean3")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

        public void mixesInGeneratedSubclassInterface() throws Exception {
            Bean bean = newInstance(Bean.class);
            assertTrue(bean instanceof GeneratedSubclass);
            assertEquals(Bean.class, ((GeneratedSubclass) bean).publicType());
            assertEquals(Bean.class, GeneratedSubclasses.unpackType(bean));
            assertEquals(Bean.class, GeneratedSubclasses.unpack(bean.getClass()));
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

                }
    
                class SomeTask extends DefaultTask {
                    private final bean = new SomeBean()
    
                    SomeTask() {
                        bean.gradle = project.gradle
                        bean.nested.gradle = project.gradle
                        bean.nested.project = project
                    }
    
                    @TaskAction
                    void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

     *
     * <ul>
     *
     * <li>Calling {@link #add(Class, Object)} or {@link #add(Object)} to register a service instance.</li>
     *
     * <li>Calling {@link #addProvider(ServiceRegistrationProvider)} to register a service provider bean. A provider bean may have factory, decorator and configuration methods as described below.</li>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         *
         * <p>All objects <b>MUST</b> expose their name as a bean property named "name". The name must be constant for the life of the object.</p>
         *
         * @param type The type of objects for the container to contain.
         * @param <T> The type of objects for the container to contain.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

            when:
            succeeds 'explicit'
    
            then:
            outputDoesNotContain "'Task#usesService'"
        }
    
        def "can inject shared build service by name into nested bean property when reference is annotated with @ServiceReference('...')"() {
            given:
            serviceImplementation()
            buildFile """
                abstract class NestedBean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import java.util.stream.Collectors;
    
    import javax.annotation.PostConstruct;
    import javax.annotation.PreDestroy;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.exception.ResourceNotFoundRuntimeException;
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.core.lang.StringUtil;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
Back to top