Class OALRuntime

java.lang.Object
org.apache.skywalking.oal.rt.OALRuntime
All Implemented Interfaces:
OALEngine

public class OALRuntime 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

    • OALRuntime

      public OALRuntime(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