org.apache.catalina.util.LifecycleBase Java Examples
The following examples show how to use
org.apache.catalina.util.LifecycleBase.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LoaderHidingWebResourceSet.java From spring-graalvm-native with Apache License 2.0 | 5 votes |
protected LoaderHidingWebResourceSet(WebResourceSet delegate) { this.delegate = delegate; try { this.initInternal = LifecycleBase.class.getDeclaredMethod("initInternal"); this.initInternal.setAccessible(true); } catch (Exception ex) { throw new IllegalStateException(ex); } }
Example #2
Source File: LoaderHidingWebResourceSet.java From spring-graalvm-native with Apache License 2.0 | 5 votes |
@Override protected void initInternal() throws LifecycleException { if (this.delegate instanceof LifecycleBase) { try { this.initInternal.invoke(this.delegate, new Object[0]); } catch (Exception ex) { throw new LifecycleException(ex); } } }