public class GrailsBootstrapRegistryInitializer extends java.lang.Object implements BootstrapRegistryInitializer
Registers the PluginDiscovery in the Spring Boot Bootstrap context so it can be accessed during the early lifecycle of the application & later promoted to actual bean.
This ensures that both the early-lifecycle GrailsEnvironmentPostProcessor and the later-lifecycle DefaultGrailsPluginManager can access the same discovered, filtered, and sorted set of plugins.
This class is registered via META-INF/spring.factories under the
org.springframework.boot.bootstrap.BootstrapRegistryInitializer key.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
initialize(BootstrapRegistry registry) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |