org.jboss.weld.util
Class Proxies
java.lang.Object
org.jboss.weld.util.Proxies
public class Proxies
- extends Object
Utilties for working with Javassist proxies
- Author:
- Nicklas Karlsson, Pete Muir, Tomaz Cerar, Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Proxies
public Proxies()
isTypeProxyable
public static boolean isTypeProxyable(Type type)
- Indicates if a class is proxyable
- Parameters:
type
- The class to test
- Returns:
- True if proxyable, false otherwise
getUnproxyableTypeException
public static UnproxyableResolutionException getUnproxyableTypeException(Type type)
isTypesProxyable
public static boolean isTypesProxyable(javax.enterprise.inject.spi.Bean<?> declaringBean)
- Indicates if a set of types are all proxyable
- Parameters:
declaringBean
- with types to test
- Returns:
- True if proxyable, false otherwise
isTypesProxyable
public static boolean isTypesProxyable(Iterable<? extends Type> types)
- Indicates if a set of types are all proxyable
- Parameters:
types
- The types to test
- Returns:
- True if proxyable, false otherwise
getUnproxyableTypesException
public static UnproxyableResolutionException getUnproxyableTypesException(javax.enterprise.inject.spi.Bean<?> declaringBean)
getUnproxyableTypesException
public static UnproxyableResolutionException getUnproxyableTypesException(Iterable<? extends Type> types)
Copyright © 2013 Seam Framework. All Rights Reserved.