File tree 10 files changed +16
-50
lines changed
src/main/java/com/github/bordertech/taskmaster/cache
src/main/java/com/github/bordertech/taskmaster
taskmaster-service-helper
src/main/java/com/github/bordertech/taskmaster/service
10 files changed +16
-50
lines changed Original file line number Diff line number Diff line change 5
5
<groupId >com.github.bordertech.taskmaster</groupId >
6
6
<name >taskmaster-parent</name >
7
7
<artifactId >taskmaster-parent</artifactId >
8
- <version >1.0.2 -SNAPSHOT</version >
8
+ <version >1.0.3 -SNAPSHOT</version >
9
9
10
10
<parent >
11
11
<groupId >com.github.bordertech.common</groupId >
49
49
<dependency >
50
50
<groupId >com.github.bordertech.didums</groupId >
51
51
<artifactId >didums-core</artifactId >
52
- <version >1.0.0 </version >
52
+ <version >1.0.2 </version >
53
53
</dependency >
54
54
55
55
<!-- Injection interface. JSR 330 -->
63
63
<dependency >
64
64
<groupId >com.github.bordertech.config</groupId >
65
65
<artifactId >config</artifactId >
66
- <version >1.0.1 </version >
66
+ <version >1.0.2 </version >
67
67
</dependency >
68
68
69
69
<!-- SLF4J Logging -->
Original file line number Diff line number Diff line change 5
5
<groupId >com.github.bordertech.taskmaster</groupId >
6
6
<name >taskmaster-cache-ehcache</name >
7
7
<artifactId >taskmaster-cache-ehcache</artifactId >
8
- <version >1.0.2 -SNAPSHOT</version >
8
+ <version >1.0.3 -SNAPSHOT</version >
9
9
10
10
<parent >
11
11
<groupId >com.github.bordertech.taskmaster</groupId >
12
12
<artifactId >taskmaster-parent</artifactId >
13
- <version >1.0.2 -SNAPSHOT</version >
13
+ <version >1.0.3 -SNAPSHOT</version >
14
14
<relativePath >../pom.xml</relativePath >
15
15
</parent >
16
16
Original file line number Diff line number Diff line change 5
5
<groupId >com.github.bordertech.taskmaster</groupId >
6
6
<name >taskmaster-cache-helper</name >
7
7
<artifactId >taskmaster-cache-helper</artifactId >
8
- <version >1.0.2 -SNAPSHOT</version >
8
+ <version >1.0.3 -SNAPSHOT</version >
9
9
10
10
<parent >
11
11
<groupId >com.github.bordertech.taskmaster</groupId >
12
12
<artifactId >taskmaster-parent</artifactId >
13
- <version >1.0.2 -SNAPSHOT</version >
13
+ <version >1.0.3 -SNAPSHOT</version >
14
14
<relativePath >../pom.xml</relativePath >
15
15
</parent >
16
16
Original file line number Diff line number Diff line change 13
13
*/
14
14
public final class CachingHelper {
15
15
16
- private static final CachingHelperProvider PROVIDER ;
17
-
18
- static {
19
- // Check if instance defined
20
- if (Didums .hasService (CachingHelperProvider .class )) {
21
- PROVIDER = Didums .getService (CachingHelperProvider .class );
22
- } else {
23
- // Default Implementation
24
- PROVIDER = new CachingHelperProviderDefault ();
25
- }
26
- }
16
+ private static final CachingHelperProvider PROVIDER = Didums .getService (CachingHelperProvider .class , CachingHelperProviderDefault .class );
27
17
28
18
/**
29
19
* Private constructor.
Original file line number Diff line number Diff line change 5
5
<groupId >com.github.bordertech.taskmaster</groupId >
6
6
<name >taskmaster-core</name >
7
7
<artifactId >taskmaster-core</artifactId >
8
- <version >1.0.2 -SNAPSHOT</version >
8
+ <version >1.0.3 -SNAPSHOT</version >
9
9
10
10
<parent >
11
11
<groupId >com.github.bordertech.taskmaster</groupId >
12
12
<artifactId >taskmaster-parent</artifactId >
13
- <version >1.0.2 -SNAPSHOT</version >
13
+ <version >1.0.3 -SNAPSHOT</version >
14
14
<relativePath >../pom.xml</relativePath >
15
15
</parent >
16
16
Original file line number Diff line number Diff line change 23
23
*/
24
24
public final class TaskMaster {
25
25
26
- private static final TaskMasterProvider PROVIDER ;
27
-
28
- static {
29
- // Check if instance defined
30
- if (Didums .hasService (TaskMasterProvider .class )) {
31
- PROVIDER = Didums .getService (TaskMasterProvider .class );
32
- } else {
33
- // Default Implementation
34
- PROVIDER = new TaskMasterProviderExecutorService ();
35
- }
36
- }
26
+ private static final TaskMasterProvider PROVIDER = Didums .getService (TaskMasterProvider .class , TaskMasterProviderExecutorService .class );
37
27
38
28
/**
39
29
* Private constructor.
Original file line number Diff line number Diff line change 5
5
<groupId >com.github.bordertech.taskmaster</groupId >
6
6
<name >taskmaster-service-helper</name >
7
7
<artifactId >taskmaster-service-helper</artifactId >
8
- <version >1.0.2 -SNAPSHOT</version >
8
+ <version >1.0.3 -SNAPSHOT</version >
9
9
10
10
<parent >
11
11
<groupId >com.github.bordertech.taskmaster</groupId >
12
12
<artifactId >taskmaster-parent</artifactId >
13
- <version >1.0.2 -SNAPSHOT</version >
13
+ <version >1.0.3 -SNAPSHOT</version >
14
14
<relativePath >../pom.xml</relativePath >
15
15
</parent >
16
16
Original file line number Diff line number Diff line change 5
5
6
6
/**
7
7
* Service invocation helper.
8
- *
9
- * @author jonathan
10
8
*/
11
9
public final class ServiceHelper {
12
10
13
- private static final ServiceHelperProvider PROVIDER ;
14
-
15
- static {
16
- // Check if instance defined
17
- if (Didums .hasService (ServiceHelperProvider .class )) {
18
- PROVIDER = Didums .getService (ServiceHelperProvider .class );
19
- } else {
20
- // Default Implementation
21
- PROVIDER = new ServiceHelperProviderDefault ();
22
- }
23
- }
11
+ private static final ServiceHelperProvider PROVIDER = Didums .getService (ServiceHelperProvider .class , ServiceHelperProviderDefault .class );
24
12
25
13
/**
26
14
* Private constructor.
Original file line number Diff line number Diff line change 8
8
9
9
/**
10
10
* Service invocation helper provider.
11
- *
12
- * @author jonathan
13
11
*/
14
12
public interface ServiceHelperProvider {
15
13
Original file line number Diff line number Diff line change 5
5
<groupId >com.github.bordertech.taskmaster</groupId >
6
6
<name >taskmaster-servlet-tools</name >
7
7
<artifactId >taskmaster-servlet-tools</artifactId >
8
- <version >1.0.2 -SNAPSHOT</version >
8
+ <version >1.0.3 -SNAPSHOT</version >
9
9
10
10
<parent >
11
11
<groupId >com.github.bordertech.taskmaster</groupId >
12
12
<artifactId >taskmaster-parent</artifactId >
13
- <version >1.0.2 -SNAPSHOT</version >
13
+ <version >1.0.3 -SNAPSHOT</version >
14
14
<relativePath >../pom.xml</relativePath >
15
15
</parent >
16
16
You can’t perform that action at this time.
0 commit comments