Class VersionInfo
- java.lang.Object
-
- de.digitalcollections.commons.springboot.monitoring.VersionInfo
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component @ManagedResource(objectName="Service:type=JMX,name=VersionInfo") public class VersionInfo extends Object implements org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description VersionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()StringgetApplicationName()Map<String,String>getArtifactVersions()StringgetBuildDetails()StringgetVersionInfo()
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getVersionInfo
@ManagedAttribute public String getVersionInfo()
-
getApplicationName
@ManagedAttribute public String getApplicationName()
-
getBuildDetails
@ManagedAttribute public String getBuildDetails()
-
-