Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sentinel
Commits
03553a6c
Commit
03553a6c
authored
Mar 11, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
f00d9350
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
MVApplication.java
src/main/java/com/egolm/film/MVApplication.java
+8
-2
No files found.
src/main/java/com/egolm/film/
Film
Application.java
→
src/main/java/com/egolm/film/
MV
Application.java
View file @
03553a6c
package
com
.
egolm
.
film
;
import
org.apache.log4j.Logger
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cache.annotation.EnableCaching
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
import
com.egolm.film.config.ExceptionHandler
;
@EnableCaching
@SpringBootApplication
@EnableTransactionManagement
public
class
FilmApplication
{
public
class
MVApplication
{
private
static
final
Logger
logger
=
Logger
.
getLogger
(
ExceptionHandler
.
class
);
private
static
ApplicationContext
applicationContext
;
public
static
void
main
(
String
[]
args
)
{
applicationContext
=
SpringApplication
.
run
(
FilmApplication
.
class
,
args
);
logger
.
info
(
"MVApplication start"
);
applicationContext
=
SpringApplication
.
run
(
MVApplication
.
class
,
args
);
}
public
static
ApplicationContext
getApplicationContext
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment