Class ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction
java.lang.Object
net.bytebuddy.dynamic.loading.ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction
- All Implemented Interfaces:
PrivilegedAction<URL>
- Enclosing class:
ByteArrayClassLoader.PersistenceHandler
@Enhance
protected static class ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction
extends Object
implements PrivilegedAction<URL>
An action to define a URL that represents a class file.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA stream handler that returns the given binary representation.protected static interfaceA dispatcher for interacting withURL. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUrlDefinitionAction(String typeName, byte[] binaryRepresentation) Creates a new URL definition action. -
Method Summary
-
Constructor Details
-
UrlDefinitionAction
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 Details
-
run
- Specified by:
runin interfacePrivilegedAction<URL>
-