| Package | Description |
|---|---|
| org.gcube.common.core.utils.proxies |
| Modifier and Type | Class and Description |
|---|---|
class |
AccessControlProxyContext
A specialisation of
GCUBEProxyContext for proxies which prevent altogether
untrusted access to selected methods of the proxied objects. |
class |
ForwardProxyContext
A specialisation of
GCUBEProxyContext for proxies which forward proxied calls to other proxies
determined dynamically on the basis of the annotations on the methods of the proxied object. |
class |
ReadOnlyProxyContext
A specialisation of
GCUBEProxyContext for proxies which enforce read-only access
from untrusted code to the values returned by selected methods of the proxied objects. |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Class<? extends Annotation>,Class<? extends GCUBEProxyContext<?>>> |
GCUBEProxyFactory.proxyClasses
Registered
GCUBEProxyContext classes, indexed by the associated annotation classes. |
| Modifier and Type | Method and Description |
|---|---|
protected static <ANNOTATION extends Annotation> |
GCUBEProxyFactory.getProxy(Class<? extends ANNOTATION> annotationClass)
Returns an instance of a registered
GCUBEProxyContext form the class of its associated annotation. |
| Modifier and Type | Method and Description |
|---|---|
static <TYPE> TYPE |
GCUBEProxyFactory.getProxy(GCUBEProxyContext<?> context,
TYPE proxied,
Class<?>... optionalInterface)
Given an arbitrary object, returns a proxy associated with a given
GCUBEProxyContext for that object. |
Copyright © 2015. All Rights Reserved.