org.jboss.weld.util
Class Proxies

java.lang.Object
  extended by 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

Nested Class Summary
static class Proxies.TypeInfo
           
 
Constructor Summary
Proxies()
           
 
Method Summary
static UnproxyableResolutionException getUnproxyableTypeException(Type type)
           
static UnproxyableResolutionException getUnproxyableTypesException(javax.enterprise.inject.spi.Bean<?> declaringBean)
           
static UnproxyableResolutionException getUnproxyableTypesException(Iterable<? extends Type> types)
           
static boolean isTypeProxyable(Type type)
          Indicates if a class is proxyable
static boolean isTypesProxyable(javax.enterprise.inject.spi.Bean<?> declaringBean)
          Indicates if a set of types are all proxyable
static boolean isTypesProxyable(Iterable<? extends 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

Proxies

public Proxies()
Method Detail

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.