Class ClassloadingIsolationInterceptor
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.interceptors.ClassloadingIsolationInterceptor
-
- All Implemented Interfaces:
StreamsLifecycleInterceptor
public class ClassloadingIsolationInterceptor extends Object implements StreamsLifecycleInterceptor
-
-
Constructor Summary
Constructors Constructor Description ClassloadingIsolationInterceptor(ClassLoader classLoader)
Creates a newClassloadingIsolationInterceptor
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onStart(StreamsLifecycleContext context, StreamsLifecycleChain chain)
Intercepts the streams instance before being started.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.api.StreamsLifecycleInterceptor
onStop
-
-
-
-
Constructor Detail
-
ClassloadingIsolationInterceptor
public ClassloadingIsolationInterceptor(ClassLoader classLoader)
Creates a newClassloadingIsolationInterceptor
instance.- Parameters:
classLoader
- theClassLoader
to be used.
-
-
Method Detail
-
onStart
public void onStart(StreamsLifecycleContext context, StreamsLifecycleChain chain)
Intercepts the streams instance before being started.- Specified by:
onStart
in interfaceStreamsLifecycleInterceptor
chain
- theStreamsLifecycleChain
instance.
-
-