Class OALKernel

java.lang.Object
org.apache.skywalking.oal.rt.OALKernel
All Implemented Interfaces:
OALEngine
Direct Known Subclasses:
OALRuntime

public class OALKernel extends Object implements OALEngine
OAL Runtime is the class generation engine, which load the generated classes from OAL scrip definitions. This runtime is loaded dynamically.
  • Constructor Details

    • OALKernel

      public OALKernel(OALDefine define)
  • Method Details

    • setStreamListener

      public void setStreamListener(StreamAnnotationListener listener) throws org.apache.skywalking.oap.server.library.module.ModuleStartException
      Specified by:
      setStreamListener in interface OALEngine
      Throws:
      org.apache.skywalking.oap.server.library.module.ModuleStartException
    • setDispatcherListener

      public void setDispatcherListener(DispatcherDetectorListener listener) throws org.apache.skywalking.oap.server.library.module.ModuleStartException
      Specified by:
      setDispatcherListener in interface OALEngine
      Throws:
      org.apache.skywalking.oap.server.library.module.ModuleStartException
    • setStorageBuilderFactory

      public void setStorageBuilderFactory(StorageBuilderFactory factory)
      Specified by:
      setStorageBuilderFactory in interface OALEngine
    • start

      public void start(ClassLoader currentClassLoader) throws org.apache.skywalking.oap.server.library.module.ModuleStartException, OALCompileException
      Specified by:
      start in interface OALEngine
      Throws:
      org.apache.skywalking.oap.server.library.module.ModuleStartException
      OALCompileException
    • notifyAllListeners

      public void notifyAllListeners() throws org.apache.skywalking.oap.server.library.module.ModuleStartException
      Specified by:
      notifyAllListeners in interface OALEngine
      Throws:
      org.apache.skywalking.oap.server.library.module.ModuleStartException
    • getMetricsClasses

      protected List<Class> getMetricsClasses()
    • getDispatcherClasses

      protected List<Class> getDispatcherClasses()