Class ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction

  • All Implemented Interfaces:
    java.security.PrivilegedAction<java.net.URL>
    Enclosing class:
    ByteArrayClassLoader.PersistenceHandler

    protected static class ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction
    extends java.lang.Object
    implements java.security.PrivilegedAction<java.net.URL>
    An action to define a URL that represents a class file.
    • Constructor Detail

      • UrlDefinitionAction

        protected UrlDefinitionAction​(java.lang.String typeName,
                                      byte[] binaryRepresentation)
        Creates a new URL definition action.
        Parameters:
        typeName - The name of the type that this URL represents.
        binaryRepresentation - The binary representation of the type's class file.
    • Method Detail

      • run

        public java.net.URL run()
        Specified by:
        run in interface java.security.PrivilegedAction<java.net.URL>