class ResourceInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Modifier and Type | Field and Description |
|---|---|
private ContentSupplier |
contentSupplier |
private NameSupplier |
nameSupplier |
private ResourceAttributeSupplier |
resourceAttributeSupplier |
private SizeSupplier |
sizeSupplier |
private SymlinkDestinationSupplier |
symlinkDestinationSupplier |
private PlexusIoResource |
testImpl |
| Constructor and Description |
|---|
ResourceInvocationHandler(PlexusIoResource target,
java.lang.Object alternativeHandler) |
| Modifier and Type | Method and Description |
|---|---|
private static <T> T |
asOrNull(java.lang.Object instance,
java.lang.Class<T> clazz) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
private PlexusIoResource testImpl
private final ContentSupplier contentSupplier
private final NameSupplier nameSupplier
private final SizeSupplier sizeSupplier
private final SymlinkDestinationSupplier symlinkDestinationSupplier
private final ResourceAttributeSupplier resourceAttributeSupplier
public ResourceInvocationHandler(@Nonnull
PlexusIoResource target,
java.lang.Object alternativeHandler)
private static <T> T asOrNull(java.lang.Object instance,
java.lang.Class<T> clazz)
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwable