class MockServerContainerContextCustomizer extends java.lang.Object implements ContextCustomizer
ContextCustomizer
that instantiates a new MockServerContainer
and stores it in the ServletContext
under the attribute named
"javax.websocket.server.ServerContainer"
.Constructor and Description |
---|
MockServerContainerContextCustomizer() |
Modifier and Type | Method and Description |
---|---|
void |
customizeContext(ConfigurableApplicationContext context,
MergedContextConfiguration mergedConfig)
Customize the supplied
ConfigurableApplicationContext after
bean definitions have been loaded into the context but before the
context has been refreshed. |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
public void customizeContext(ConfigurableApplicationContext context, MergedContextConfiguration mergedConfig)
ContextCustomizer
ConfigurableApplicationContext
after
bean definitions have been loaded into the context but before the
context has been refreshed.customizeContext
in interface ContextCustomizer
context
- the context to customizemergedConfig
- the merged context configurationpublic boolean equals(@Nullable java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object