44 Commits

Author SHA1 Message Date
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
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
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
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
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 54bd8a5cddf6d2825e1ee874b6a6fe75c3bfe9da.
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 dc105bc6f22b2b4ab9d504fdbf0dd9988ba26ec1.
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
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
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
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
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
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
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
361874d0d6 simplify demos 2016-11-27 12:23:51 +08: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
Grzegorz Piwowarek
fc1aaef471 Rename dependency-injection -> spring-core 2016-10-23 14:19:10 +02:00