Spring Framwork Core Technologies v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Null and Empty String Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using register(Class>…) . . . . . . . . . . . . . . . 148 Enabling Component Scanning with scan(String…) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 Support for Web Applications here --> ① The id attribute is a string that identifies the individual bean definition. 4 ② The class attribute defines the type of the0 码力 | 485 页 | 6.31 MB | 1 年前3
Spring Framwork Web on Reactive Stack v5.3.36 SNAPSHOTmethod for accessing form data: Java MonoString, String>> getFormData(); Kotlin suspend fun getFormData(): MultiValueMap<String, String> The DefaultServerWebExchange uses the configured HttpMessageReader Mono String, Part>> getMultipartData(); Kotlin suspend fun getMultipartData(): MultiValueMap<String, Part> The DefaultServerWebExchange uses the configured HttpMessageReader String, Part>> more on this topic. The spring-core module provides byte[], ByteBuffer, DataBuffer, Resource, and String encoder and decoder implementations. The spring-web module provides Jackson JSON, Jackson Smile 0 码力 | 182 页 | 2.52 MB | 1 年前3
Spring Framwork Web on Servlet Stack v5.3.36 SNAPSHOTnew Class>[] { App1Config.class }; } @Override protected String[] getServletMappings() { return new String[] { "/app1/*" }; } } Kotlin class MyWebAppInitializer : AbstractA return arrayOf(App1Config::class.java) } override fun getServletMappings(): Array<String> { return arrayOf("/app1/*") } } If an application context hierarchy is not required to handlers, to HTML error views, or other targets. See Exceptions. ViewResolver Resolve logical String-based view names returned from a handler to an actual View with which to render to the response0 码力 | 259 页 | 3.58 MB | 1 年前3
Spring Framework Reference Documentation v4.3.2Collections Collection merging Limitations of collection merging Strongly-typed collection Null and empty string values XML shortcut with the p-namespace XML shortcut with the c-namespace Compound property names the container programmatically using register(Class>… ) Enabling component scanning with scan(String… ) Support for web applications with AnnotationConfigWebApplicationContext Using the @Bean annotation public @interface ContextConfiguration { @AliasFor("locations") String[] value() default {}; @AliasFor("value") String[] locations() default {}; // ... } Similarly, composed annotations0 码力 | 1311 页 | 4.07 MB | 1 年前3
Spring Framework Reference Documentation 4.3.26.RELEASECollections Collection merging Limitations of collection merging Strongly-typed collection Null and empty string values XML shortcut with the p-namespace XML shortcut with the c-namespace Compound property names Building the container programmatically using register(Class>… ) Enabling component scanning with scan(String… ) Support for web applications with AnnotationConfigWebApplicationContext Using the @Bean annotation public @interface ContextConfiguration { @AliasFor("locations") String[] value() default {}; @AliasFor("value") String[] locations() default {}; // ... } Similarly, composed annotations0 码力 | 1323 页 | 4.08 MB | 1 年前3
Spring Framework Reference Documentation v4.3.2............................................................................. 55 Null and empty string values ..................................................................... 57 XML shortcut with programmatically using register(Class>…) ........... 119 Enabling component scanning with scan(String…) .................................... 120 Support for web applications with AnnotationConfigWebApplicationContext public @interface ContextConfiguration { @AliasFor("locations") String[] value() default {}; @AliasFor("value") String[] locations() default {}; // ... } Spring Framework Reference Documentation0 码力 | 907 页 | 5.46 MB | 1 年前3
Spring Framework Reference Documentation 4.3.26.RELEASE............................................................................. 58 Null and empty string values ..................................................................... 60 XML shortcut with programmatically using register(Class>…) ........... 125 Enabling component scanning with scan(String…) .................................... 126 Support for web applications with AnnotationConfigWebApplicationContext public @interface ContextConfiguration { @AliasFor("locations") String[] value() default {}; @AliasFor("value") String[] locations() default {}; // ... } • Similarly, composed annotations0 码力 | 916 页 | 5.52 MB | 1 年前3
Spring Framwork Data Access v5.3.36 SNAPSHOTtransactional package x.y.service; public interface FooService { Foo getFoo(String fooName); Foo getFoo(String fooName, String barName); void insertFoo(Foo foo); void updateFoo(Foo foo); } package x.y.service interface FooService { fun getFoo(fooName: String): Foo fun getFoo(fooName: String, barName: String): Foo fun insertFoo(foo: Foo) fun updateFoo(foo: Foo) } The implements FooService { @Override public Foo getFoo(String fooName) { // ... } @Override public Foo getFoo(String fooName, String barName) { // ... } @Override0 码力 | 197 页 | 2.76 MB | 1 年前3
Spring Framework 2.0.3 ReferenceXmlBeanFactory(resource); ... or... ApplicationContext context = new ClassPathXmlApplicationContext( new String[] {"applicationContext.xml", "applicationContext-part2.xml"}); // of course, an ApplicationContext The IoC container Spring Framework (2.0.3) 35 Basically that's all there is to it. Using getBean(String) you can retrieve instances of your beans; the client-side view of the BeanFactory is surprisingly to call: • boolean containsBean(String): returns true if the BeanFactory contains a bean definition or bean instance that matches the given name • Object getBean(String): returns an instance of the bean0 码力 | 495 页 | 3.57 MB | 1 年前3
Spring Framework 2.0.2 ReferenceXmlBeanFactory(resource); ... or... ApplicationContext context = new ClassPathXmlApplicationContext( new String[] {"applicationContext.xml", "applicationContext-part2.xml"}); // of course, an ApplicationContext The IoC container Spring Framework (2.0.2) 35 Basically that's all there is to it. Using getBean(String) you can retrieve instances of your beans; the client-side view of the BeanFactory is surprisingly to call: • boolean containsBean(String): returns true if the BeanFactory contains a bean definition or bean instance that matches the given name • Object getBean(String): returns an instance of the bean0 码力 | 498 页 | 3.55 MB | 1 年前3
共 318 条
- 1
- 2
- 3
- 4
- 5
- 6
- 32













