|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.util.Proxies
public class Proxies
Utilties for working with Javassist proxies
| Nested Class Summary | |
|---|---|
static class |
Proxies.TypeInfo
|
| Constructor Summary | |
|---|---|
Proxies()
|
|
| Method Summary | |
|---|---|
static javassist.util.proxy.ProxyFactory |
getProxyFactory(java.util.Set<java.lang.reflect.Type> types)
Get the proxy factory for the given set of types |
static boolean |
isProxy(java.lang.Object instance)
Indicates if an instance is a Javassist proxy |
static boolean |
isTypeProxyable(java.lang.reflect.Type type)
Indicates if a class is proxyable |
static boolean |
isTypesProxyable(java.lang.Iterable<? extends java.lang.reflect.Type> types)
Indicates if a set of types are all proxyable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Proxies()
| Method Detail |
|---|
public static javassist.util.proxy.ProxyFactory getProxyFactory(java.util.Set<java.lang.reflect.Type> types)
types - The types to create the proxy factory forclasses - Additional interfaces the proxy should implement
public static boolean isTypeProxyable(java.lang.reflect.Type type)
type - The class to test
public static boolean isTypesProxyable(java.lang.Iterable<? extends java.lang.reflect.Type> types)
types - The types to test
public static boolean isProxy(java.lang.Object instance)
instance - The instance to examine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||