Documentation of 'org.python.core.BytecodeNotification' Java class
BytecodeNotification
org.python.core

Class BytecodeNotification



  • public class BytecodeNotification
    extends java.lang.Object
    Notifies registered callbacks if new bytecode is loaded.
    • Constructor Detail

      • BytecodeNotification

        public BytecodeNotification()
    • Method Detail

      • unregister

        public static boolean unregister(BytecodeNotification.Callback n)
        Unregisters the callback object
        Parameters:
        n - the callback object
        Returns:
        true if successfully removed and false if the callback object was not registered
      • clear

        public static void clear()
        Clears all the registered callbacks
      • notify

        public static void notify(java.lang.String name,
                                  byte[] data,
                                  java.lang.Class klass)
        Notifies that the new bytecode to the registered callbacks
        Parameters:
        name - the name of the class of the new bytecode
        data - raw byte data of the class
        klass - Java class object of the new bytecode

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.