Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e89c5c1

Browse files
new stable release for production fix #71
⬆️
1 parent c6c3850 commit e89c5c1

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

‎demo/src/main/java/io/asfjava/ui/demo/DemoApplication.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
import org.springframework.boot.web.servlet.ServletComponentScan;
66

77
@SpringBootApplication
8+
/*
9+
* The annotation below used to scan the servlet context loader added to the sf-java-ui library
10+
* in order to initialize the library @ server startup
11+
*
12+
* */
813
@ServletComponentScan(basePackages = { "io.asfjava.ui.core" })
914
public class DemoApplication {
1015
public static void main(String[] args) {

‎release.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#release configuration
2-
#Sat Jul 15 19:03:53 CET 2017
2+
#Fri Aug 25 14:13:50 CET 2017
33
scm.tagNameFormat=@{project.artifactId}-@{project.version}
4-
pushChanges=true
4+
pushChanges=false
55
scm.url=scm\:git\:git@github.com\:JsonSchema-JavaUI/sf-java-ui.git
66
preparationGoals=clean verify
77
projectVersionPolicyId=default

‎src/main/java/io/asfjava/ui/core/GeneratorFactoryInitializer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ public class GeneratorFactoryInitializer implements ServletContextListener {
99

1010
@Override
1111
public final void contextInitialized(final ServletContextEvent sce) {
12-
GeneratorFactoryLoader.getInstance().load();
13-
SchemaDecoratorLoader.getInstance().load();
12+
SFJavaUi.initialize();
1413
}
1514

1615
@Override
1716
public final void contextDestroyed(final ServletContextEvent sce) {
18-
//to implement it
17+
// to implement it
1918
}
2019
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package io.asfjava.ui.core;
2+
3+
public final class SFJavaUi {
4+
5+
public static void initialize(){
6+
GeneratorFactoryLoader.getInstance().load();
7+
SchemaDecoratorLoader.getInstance().load();
8+
}
9+
10+
private SFJavaUi() {
11+
}
12+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /