Package | Description |
---|---|
com.hp.util.proxy |
Classes providing dynamic proxy creation capabilities.
|
Modifier and Type | Method and Description |
---|---|
static <T> Interfaces<T> |
Interfaces.all(Class<T> subject)
Extracts all interfaces implemented by the given
subject . |
Interfaces<T> |
Interfaces.Builder.build()
Builds the interfaces set.
|
static <T> Interfaces<T> |
Interfaces.single(Class<? super T> subject)
Extracts all interfaces implemented by the given
subject . |
Modifier and Type | Method and Description |
---|---|
static <P,T extends P> |
DynamicProxy.create(Class<T> subjectClass,
NonDelegatorProxy<T> proxy,
Interfaces<T> interfaces)
Creates a dynamic proxy.
|
static <P,T extends P> |
DynamicProxy.create(T subject,
Proxy<T> proxy,
Interfaces<T> interfaces)
Creates a dynamic proxy.
|
Object |
NonDelegatorProxy.invoke(Class<T> subjectClass,
Interfaces<T> interfaces,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns the
result.
|
Copyright © 2016. All Rights Reserved.