Cloud Starter Context


License

License

GroupId

GroupId

com.minlia.cloud.starter
ArtifactId

ArtifactId

cloud-starter-context
Last Version

Last Version

2.0.0.RELEASE
Release Date

Release Date

Type

Type

jar
Description

Description

Cloud Starter Context
Cloud Starter Context
Source Code Management

Source Code Management

https://github.com/minlia-projects/cloud-starter-context

Download cloud-starter-context

How to add to project

<!-- https://jarcasting.com/artifacts/com.minlia.cloud.starter/cloud-starter-context/ -->
<dependency>
    <groupId>com.minlia.cloud.starter</groupId>
    <artifactId>cloud-starter-context</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/com.minlia.cloud.starter/cloud-starter-context/
implementation 'com.minlia.cloud.starter:cloud-starter-context:2.0.0.RELEASE'
// https://jarcasting.com/artifacts/com.minlia.cloud.starter/cloud-starter-context/
implementation ("com.minlia.cloud.starter:cloud-starter-context:2.0.0.RELEASE")
'com.minlia.cloud.starter:cloud-starter-context:jar:2.0.0.RELEASE'
<dependency org="com.minlia.cloud.starter" name="cloud-starter-context" rev="2.0.0.RELEASE">
  <artifact name="cloud-starter-context" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.minlia.cloud.starter', module='cloud-starter-context', version='2.0.0.RELEASE')
)
libraryDependencies += "com.minlia.cloud.starter" % "cloud-starter-context" % "2.0.0.RELEASE"
[com.minlia.cloud.starter/cloud-starter-context "2.0.0.RELEASE"]

Dependencies

compile (3)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter jar
org.springframework.boot : spring-boot-configuration-processor Optional jar
org.projectlombok : lombok Optional jar

Project Modules

There are no modules declared in this project.

应用上下文持有器

可以方便的从spring容器中取出当前应用上下文,需要在项目里添加依赖项,并配置为启用

Maven Central Apache License 2 Build Status Waffle.io - Columns and their card count

集成到自已的项目时添加依赖项

<dependency>
  <groupId>com.minlia.cloud.starter</groupId>
  <artifactId>cloud-starter-context</artifactId>
  <version>2.0.0.RELEASE</version>
</dependency>

应用配置项:

application-dev.yml

system:
  context-holder:
    enabled: true

application-dev.properties

system.context-holder.enabled=true
com.minlia.cloud.starter

MINLIA

Versions

Version
2.0.0.RELEASE