Commit Graph

82 Commits

Author SHA1 Message Date
the-java-guy 991335da42 BAEL-1782 (#5067)
* Bean Object, server side and client side example for event streaming
example

* BAEL-1628

Access a File from the Classpath in a Spring Application

* inputstream retrieval added

* Removed files related to evaluation article

* + Aligning code to the article. Removed Utility methods and classes

* Precommit fix

* PMD fixes

* Code Review changes
Refactored : whenResourceUtils_thenReadSuccessful

* BAEL-1934

* +indentation correction in pom.xml

* synced with master

* Precommit : rebase

* BAEL-1782
2018-08-28 16:23:01 +03:00
xamcross 565a11620b BAEL-2070 (#5064)
* BAEL-2070 UnsatisfiedDependencyException example app

* [BAEL-8456] - Moved Java Date articles into a new module - 'java-dates'

* BAEL-2070 Refactoring; Replaced field injection with constructor injection

* fix package, fix get random node

* update neo4j

* fix formatting

* [BAEL-8456] - Moved more articles into 'java-dates' module

* BAEL-2070 Small indentation fix
2018-08-26 23:19:42 +02:00
xamcross 7bb5fb6176 BAEL-2051 Spring Autowiring of Generic Types (#4921) 2018-08-26 13:22:07 +01:00
amit2103 d268ffa5c9 [BAEL-7670] Added logback.xml in missing modules in src/main/resources 2018-08-05 18:40:49 +05:30
Loredana Crusoveanu ca1908a351
Merge pull request #4542 from eugenp/prototype-bean-function
add prototype bean ex with function
2018-07-29 21:58:24 +03:00
Amit Pandey 28166a73de Fixed spring-session integration tests (#4650) 2018-07-08 13:27:45 +02:00
Loredana Crusoveanu 679336f3e9
Update AppConfig.java 2018-06-24 21:18:34 +03:00
Loredana Crusoveanu 588f84aa83 separate configs 2018-06-24 20:02:31 +03:00
Loredana Crusoveanu 32a9212fc9 separate configs 2018-06-24 19:22:26 +03:00
Loredana Crusoveanu fd34932f4c remove extra import 2018-06-24 19:16:55 +03:00
Loredana Crusoveanu c19dfa510a remove extra classes 2018-06-24 19:16:02 +03:00
Loredana Crusoveanu 1cea9ee088 add prototype bean ex with function 2018-06-24 13:03:31 +03:00
the-java-guy 3b603b4293 BAEL-1628 (#4354)
* Bean Object, server side and client side example for event streaming
example

* BAEL-1628

Access a File from the Classpath in a Spring Application

* inputstream retrieval added

* Removed files related to evaluation article

* + Aligning code to the article. Removed Utility methods and classes

* BAEL - 1628

* PMD fixes

* Code Review changes
Refactored : whenResourceUtils_thenReadSuccessful
2018-06-16 00:10:34 +02:00
psevestre b59da11c66 Code for BAEL-1474 (#4472)
* Code for BAEL-1474

* Renamed test to conform to PMD rules
2018-06-12 22:12:05 -07:00
sachinp054 40d3b96820 BAEL-1715- Control Bean Creation Order with @DependsOn annotation (#4028)
* removing Bean injection

* BAEL-1715- Control Bean Creation Order with @DependsOn annotation

* BAEL-1715- Formatting changes, test case improvement

* Created new Config file for UnitTest

* Corrected test case- from BeanCreationException to NoSuchBeanDefinitionException

* correcting error- for circular dependency expected exception is- BeanCreationException
2018-06-11 00:06:27 +01:00
Grzegorz Piwowarek 2c2915e584
Merge branch 'master' into BAEL-1799 2018-06-06 07:32:22 +02:00
mherbaghinyan 221131a33c initialize an empty list 2018-06-04 16:41:44 +04:00
mherbaghinyan 56bbfd9644 required false 2018-06-04 10:51:53 +04:00
Amit Pandey 7206e64bef Bael 6556 3 (#4382)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases
2018-06-01 13:12:51 +02:00
mherbaghinyan 834be9a720 set bean names 2018-05-30 22:19:06 +04:00
mherbaghinyan fa60d4e69e @order 2018-05-22 17:07:08 +04:00
mherbaghinyan a6655de20c bean reference injection 2018-05-22 16:33:25 +04:00
mherbaghinyan 4cdf7fe9ef map injection 2018-05-21 12:15:30 +04:00
mherbaghinyan d73f653eb0 list, set injection 2018-05-19 12:50:48 +04:00
mherbaghinyan c7cd7d0744 list inject test 2018-05-18 16:10:02 +04:00
mherbaghinyan 2146aa2be1 BeanFactoryAware example tested 2018-04-29 11:26:56 +04:00
mherbaghinyan 5dc1b18c29 BeanNameAware test the result 2018-04-28 12:02:06 +04:00
mherbaghinyan 4b91a76d8f BeanNameAware and BeanFactoryAware 2018-04-25 22:13:50 +04:00
mherbaghinyan c1e0b884de aware 2018-04-24 22:28:20 +04:00
Gangadharan Khoteeswarun 6f887d29c6 @Lookup annotation Code (#3900)
* Updated

* Changed Test Names

* Updated code for method injection section 3.2

* Added Grader bean and changes for it
2018-04-16 08:17:39 -06:00
Mher Baghinyan 69842b7dea BAEL-1592 (#3773)
* Injecting Prototype Beans into Singleton Instance

* removed final keywords from the test
2018-04-12 06:57:20 +02:00
Mher Baghinyan 7eb74160f1 @Lazy annotation (#3809) 2018-03-17 10:30:44 +01:00
Grzegorz Piwowarek a6d3ddd38f
Revert "evaluation article, different types of bean injection. (#3511)" (#3719)
This reverts commit 54bd8a5cdd.
2018-02-24 21:32:29 +01:00
Syed Munawwer Ali 54bd8a5cdd evaluation article, different types of bean injection. (#3511)
* Different types of bean injection in spring, initial write-up

* Evaluation article code example, different types of bean injection.
2018-02-24 17:21:16 +01:00
Muhammed Almas 2f5370dea6 Spring core xml (#2971)
* BAEL-1247 Spring XML injection.

* BAEL-1247 - updated test

* BAEL-1247 - updated test
2017-11-08 08:24:37 +01:00
tamasradu 90c2739563 Radu/bael 1265 junit updates (#2965)
* Code for test article: Different Types of Bean Injection in Spring

* Adding jUnits for test article: Different Types of Bean Injection in Spring

* BAEL-1265: Adding jUnit for article

* BAEL-1265: Closing ExecutorService in jUnit

* BAEL-1265: Adding jUnit for CountDownLatch and example for ExecutorService.awaitTermination
2017-11-05 17:46:29 -08:00
Muhammed Almas 22f07214b1 BAEL-1247 Spring XML injection. (#2901) 2017-11-02 08:44:45 +01:00
adamd1985 e6c2fd3bbe Revert "BAEL-812: List of Rules Engines in Java (#2319)" (#2455)
This reverts commit dc105bc6f2.
2017-08-20 15:44:20 +02:00
felipeazv dc105bc6f2 BAEL-812: List of Rules Engines in Java (#2319)
* spring beans DI examples

* fix-1: shortening examples

* List of Rules Engines in Java

* BAEL-812: Openl-Tablets example added

* BAEL-812: artifacts names changed
2017-08-16 21:58:42 +02:00
chrisoberle 5383b2b01b add valueswithdefaults example (#2369)
* add values with defaults example

* add additional examples

* remove unused imports
2017-08-06 15:31:55 -05:00
Ahmed Tawila 4b53c00bca BAEL-1033 Introduction to StreamUtils (#2341)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* fix formatting

* BAEL-1033 minor refactor
2017-07-31 14:57:52 +02:00
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