public class JuneauRestInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
Looks for the JuneauRestRoot annotation on the Spring application class to automatically register Juneau REST resources.
| Constructor and Description |
|---|
JuneauRestInitializer(Class<?> appClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(org.springframework.context.ConfigurableApplicationContext ctx) |
public JuneauRestInitializer(Class<?> appClass)
appClass - The Spring application class.public void initialize(org.springframework.context.ConfigurableApplicationContext ctx)
initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.