Commit Graph

41 Commits

Author SHA1 Message Date
Tehreem 0fab04f1b6 Spring YAML Configuration (#1807)
* Spring YAML Configuration

* Spring YAML Configuration

* Spring YAML Configuration

* Update application.yml

removing ^M

* Update application.yml

* Spring YAML Configuration

* Update pom.xml

* Update pom.xml

* Spring YAML Configuration

* Spring YAMl Configuration
2017-06-21 20:25:36 +02:00
Grzegorz Piwowarek a5d5460a9f Stream API: last Stream element example refactor (#1943)
* Refactor

* Delete ApplicationContextTestBeanInjectionTypes.java

* Delete BeanInjectionJavaConfigIntegrationTest.java

* Delete BeanInjectionXMLConfigIntegrationTest.java
2017-06-03 20:49:56 +02:00
adasioo 96004deac1 BAEL-923 init class not managed by Spring with Spring Bean (#1906)
* adam.zawada@gmail.com - Different Types of Bean Injection in Spring

* adam.zawada@gmail.com - Different Types of Bean Injection in Spring
switch to Java based configuration

* BAEL-895 calculate the period/duration between two dates in Java 8

* clean old PR

* BAEL-923 How to inject a value from properties to a class not managed by Spring?

* clean PR

* BAEL-923 init class not managed by Spring with Spring Bean

* clean previous PR

* added mockito spring boot for test dependency
2017-05-29 22:21:03 +02:00
Syed Ali Raza 8c8c01ebbb BAEL-833: How to get last element of a Stream in Java? (#1930)
* Different Types of Bean Injection in Spring

* Fixed code formatting and test names for "Different Types of Bean Injection in Spring"

* BAEL-833: How to get last element of a Stream in Java?

* BAEL-833: Updated based on review from editor
2017-05-28 12:07:15 +02:00
Doha2012 48cd6f876f Fix test names (#1853)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom

* cleanup pom

* add missing parent

* fix logging issue

* fix test names
2017-05-15 11:35:14 -05:00
Anton f674f12eac BAEL-748 updated Quick Guide to @Value (#1663)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review

* BAEL-748 inject comma-separated values into array
2017-04-18 22:36:43 -05:00
Anton 389927d901 BAEL-748 quick guide to @Value (#1577)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review
2017-04-14 20:40:39 -05:00
iaforek ad0cd72dfd BAEL-434 Spring Roo (#1589)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.
2017-04-06 02:20:04 +02:00
pivovarit d0b0debd06 Exclude integration tests 2017-03-24 16:17:34 +01:00
ahamedm 26b5ab860a BAEL-696 - Implement OR in the REST API Query Language (#1404)
* Dependency Injection Types, XML-Config, Java-Config, Test Classes

* Formatting done with Formatter Configuration in Eclipse

* REST Query Lang - Adv Search Ops - Improvement - C1

* REST Query Lang - Adv Search Ops - Improvement - C2

* add update to rest api (#1401)

* upgrade to spring boot 1.5.2

* add full update to REST API

* BAEL-634 javassist (#1349)

* BEEL-634 javassist dependency

* BEEL-634 code for javassist article

* BEEL-634 test refinement

* BEEL-634 increment lib to newest version

* add test that uses reflection to verify

* add field

* add bytecode to different class

* adding following modules with updated testcase : DB, Filter, Json (#1410)

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* add entry points (#1413)

* spring boot custom banner (#1412)

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* BALE-707 Refactoring changes (#1418)

* BAEL-707 Add the changes as per review comment

* BAEL-707 Refactored the code as per review comments

* BAEL-696 Code formatting
2017-03-16 11:49:13 +01:00
Walter Gómez e0d59494c1 Lombok annotation update (#1358)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update Lombok annotations

Change annotations to @RequiredArgsConstructor for
- ApologizeService
- ThankingService

* Remove hibernate-immutable due to conflic on PR
2017-03-11 07:36:38 +01:00
Grzegorz Piwowarek d3d11a18f3 Revert "Spring Groovy Config with fixed pom" (#1209) 2017-02-21 07:35:07 +01:00
Andrew Evans fda362f79d Spring Groovy Config with fixed pom (#1200)
* 'bean_injection'

* 'bean_injection'

* 'changes'

* code

* git ignore

* pom fix

* pom fix
2017-02-20 23:17:48 +01:00
buddhini81 7c337eb6c0 Adding Code for BAEL-394 (#1163)
* Code for evaluation article

Article : Field vs. Constructor Injection

* Correct typo in attribute name

* Delete EbookRepositiry.java

* Add corrected class

* Update LibraryUtils.java

* Update Member.java

* Update Reservation.java

* Adding new file AccountServlet

* Adding new files for BAEL-394

* Add new files for BAEL-394

* Add new file for BAEL-394

* Indentation of annotations fixed

* Indentation of annotations fixed

* Indentation of annotations fixed

* Removing this class since it is not relevant

* New example added for @WebListener
2017-02-20 00:54:42 +01:00
pivovarit 4d5624161f Refactor Spring with Lombok samples 2017-02-04 06:15:54 +01:00
Piotr Sliwa 5548022a2b BAEL-628: Added sources for "Constructor Injection in Spring with Lombok" article. (#1064)
* BAEL-628: Added sources for "Constructor Injection in Spring with Lombok" article.

* BAEL-628: Removed unneccessary @Autowired + Apologizer example.
2017-02-01 07:53:17 +01:00
Naoshadul Islam d8af6f371b Added relevant articles 2017-01-15 21:09:29 +06:00
Naoshadul Islam 8dc3487b67 Added relevant articles (#962)
* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevnat articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md
2017-01-08 08:25:59 +01:00
Naoshadul Islam 1b59823654 Created README.md and added relevant articles (#901)
* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Update README.md

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md
2016-12-18 02:15:07 -06:00
Marek Lewandowski cddeb95e8e Format namespace 2016-12-12 09:23:40 +01:00
Marek Lewandowski f17f9c9d12 Merge pull request #889 from DianeDuan/xmlclasspathapplicationcontext
BAEL-320: Intro to the Spring ClassPathXmlApplicationContext
2016-12-12 09:18:36 +01:00
DianeDuan 4b3c52df0f examples 2016-12-11 18:27:47 +08:00
Egima profile aa68501341 merged formatting changes and removed while loops in asynchronous client (#870)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core
2016-12-01 09:55:20 +01:00
pivovarit 0e3b7fe17c Formatting 2016-11-29 17:43:17 +01:00
Diane Duan 7676697c4c BAEL-453: How to use the Spring FactoryBean - use custom bean name (#866)
* custom bean name

* @Autowire
2016-11-29 17:41:30 +01:00
DianeDuan 750aad44df merge upstream 2016-11-27 12:40:32 +08:00
DianeDuan 361874d0d6 simplify demos 2016-11-27 12:23:51 +08:00
Eugen 615ddc19bf Merge pull request #854 from dkornishev/master
Spring Constructor-Based DI
2016-11-23 08:36:49 -06:00
Danil Kornishev 61152915b7 Moved sprindi examples 2016-11-23 08:33:57 -05:00
Marek Lewandowski b8ade6f6da BAEL-453 some improvments, formatting etc. 2016-11-21 22:01:05 +01:00
DianeDuan e84957c768 change expect exception in ut 2016-11-21 21:51:20 +08:00
DianeDuan 77240dc024 delete extra comments and variable assignments, use guava precondition for check 2016-11-21 20:41:33 +08:00
DianeDuan 42fc383518 FactoryBean example code 2016-11-20 10:52:09 +08:00
Marek Lewandowski be5ac17249 fix tests 2016-11-16 19:56:38 +01:00
Marek Lewandowski b74ce5914b Fix BAEL-454 and move test to actual tests 2016-11-16 09:55:16 +01:00
Marek Lewandowski 9305e79806 Remove empty line 2016-11-16 09:50:36 +01:00
Shubham Aggarwal 5e0f94f883 Updated junit dependency in pom, named test method meaningful 2016-11-16 14:09:46 +05:30
Shubham Aggarwal 89ebafc9a6 Added assertions. 2016-11-16 08:29:47 +05:30
Shubham Aggarwal 40841f93e5 Added Test for BeanFactory methods 2016-11-14 20:22:24 +05:30
Shubham Aggarwal e425d8bf01 Added BeanFactory sample in spring-core 2016-11-11 14:24:09 +05:30
Grzegorz Piwowarek fc1aaef471 Rename dependency-injection -> spring-core 2016-10-23 14:19:10 +02:00