Class ByteArrayClassLoader.ClassDefinitionAction

  • All Implemented Interfaces:
    java.security.PrivilegedAction<java.lang.Class<?>>
    Enclosing class:
    ByteArrayClassLoader

    protected class ByteArrayClassLoader.ClassDefinitionAction
    extends java.lang.Object
    implements java.security.PrivilegedAction<java.lang.Class<?>>
    An action for defining a located class that is not yet loaded.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ClassDefinitionAction​(java.lang.String name, byte[] binaryRepresentation)
      Creates a new class definition action.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      int hashCode()  
      java.lang.Class<?> run()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassDefinitionAction

        protected ClassDefinitionAction​(java.lang.String name,
                                        byte[] binaryRepresentation)
        Creates a new class definition action.
        Parameters:
        name - The binary name of the class to define.
        binaryRepresentation - The binary representation of the class to be loaded.
    • Method Detail

      • run

        public java.lang.Class<?> run()
        Specified by:
        run in interface java.security.PrivilegedAction<java.lang.Class<?>>
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object