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()
Constructor.
|
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. Can be public JuneauRestInitializer()
public void initialize(org.springframework.context.ConfigurableApplicationContext ctx)
initialize
in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.