org.jboss.ejb3.common.proxy.spi
Class ProxyUtils

java.lang.Object
  extended by org.jboss.ejb3.common.proxy.spi.ProxyUtils

public class ProxyUtils
extends Object

ProxyUtils Common Utility methods for use with the Proxies

Version:
$Revision: $
Author:
ALR

Method Summary
static Object mixinProxy(Object delegate, Class<?>[] additionalInterfaces, ChainedProcessingInvocationHandler chain)
          Wraps the existing Proxy in a new Proxy to extend functionality, adding support of the specified interfaces via the specified ChainedProcessingInvocationHandler (which contains a chain of processors) May be used to, at runtime, extend a service
static
<T> T
mixinProxy(Object delegate, Class<?>[] additionalInterfaces, ChainedProcessingInvocationHandler chain, T expectedType)
          Wraps the existing Proxy in a new Proxy to extend functionality, adding support of the specified interfaces via the specified ChainedProcessingInvocationHandler (which contains a chain of processors) May be used to, at runtime, extend a service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mixinProxy

public static Object mixinProxy(Object delegate,
                                Class<?>[] additionalInterfaces,
                                ChainedProcessingInvocationHandler chain)
Wraps the existing Proxy in a new Proxy to extend functionality, adding support of the specified interfaces via the specified ChainedProcessingInvocationHandler (which contains a chain of processors) May be used to, at runtime, extend a service


mixinProxy

public static <T> T mixinProxy(Object delegate,
                               Class<?>[] additionalInterfaces,
                               ChainedProcessingInvocationHandler chain,
                               T expectedType)
Wraps the existing Proxy in a new Proxy to extend functionality, adding support of the specified interfaces via the specified ChainedProcessingInvocationHandler (which contains a chain of processors) May be used to, at runtime, extend a service



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.