Class OMAGServerPlatform
java.lang.Object
org.odpi.openmetadata.platformchassis.springboot.OMAGServerPlatform
@SpringBootApplication(scanBasePackages="${scan.packages:org.odpi.openmetadata.*}")
public class OMAGServerPlatform
extends Object
OMAGServerPlatform provides the main program for the OMAG Server Platform.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
ApplicationContextListener detects various events during the lifetime of the OMAGServerPlatform run.class
Detect failures -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.InitializingBean
Make adjustments to the local environment.org.springframework.boot.web.servlet.FilterRegistrationBean<HTTPRequestHeadersFilter>
Initialization of HTTPRequestHeadersFilter.static void
Java main
-
Constructor Details
-
OMAGServerPlatform
public OMAGServerPlatform()
-
-
Method Details
-
main
Java main- Parameters:
args
- program arguments used to override environment variables
-
getInitialize
@Bean public org.springframework.beans.factory.InitializingBean getInitialize()Make adjustments to the local environment.- Returns:
- bean
-
getRequestHeadersFilter
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<HTTPRequestHeadersFilter> getRequestHeadersFilter()Initialization of HTTPRequestHeadersFilter. headerNames is a list of headers defined in application properties.- Returns:
- bean of an initialized FilterRegistrationBean
-