• Dave Syer's avatar
    Prevent failure of web app with parent context · 2104d9a1
    Dave Syer authored
    ServerProperties formerly had an @OnMissingBeanCondition
    that didn't restrict the hierarchy. It also asserts that
    the current context (not including parents) contains such
    a bean. This led to an inevitable failure when there was
    an existing instance in the parent context.
    
    Fixed by a) searching only the current context, b) not
    adding a ServerProperties bean if the context is not a
    web app.
    2104d9a1
Name
Last commit
Last update
..
src Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
pom.xml Loading commit data...