List of usage examples for org.springframework.boot.web.server WebServerFactoryCustomizer getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.springframework.boot.web.server.WebServerFactoryCustomizerBeanPostProcessor.java
private void postProcessBeforeInitialization(WebServerFactory bean) { for (WebServerFactoryCustomizer<?> customizer : getCustomizers()) { Class<?> type = ResolvableType.forClass(WebServerFactoryCustomizer.class, customizer.getClass()) .getGeneric().resolve(WebServerFactory.class); if (type.isInstance(bean)) { invokeCustomizer(customizer, bean); }//from w w w . j a va 2s . co m } }