org.jboss.weld.bean.proxy
Class ClientProxyProvider

java.lang.Object
  extended by org.jboss.weld.bean.proxy.ClientProxyProvider

public class ClientProxyProvider
extends Object

A proxy pool for holding scope adaptors (client proxies)

Author:
Nicklas Karlsson
See Also:
ProxyMethodHandler

Constructor Summary
ClientProxyProvider()
          Constructor
 
Method Summary
 void clear()
           
<T> T
getClientProxy(javax.enterprise.inject.spi.Bean<T> bean)
          Gets a client proxy for a bean

Looks for a proxy in the pool.

 String toString()
          Gets a string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientProxyProvider

public ClientProxyProvider()
Constructor

Method Detail

getClientProxy

public <T> T getClientProxy(javax.enterprise.inject.spi.Bean<T> bean)
Gets a client proxy for a bean

Looks for a proxy in the pool. If not found, one is created and added to the pool if the create argument is true.

Parameters:
bean - The bean to get a proxy to
Returns:
the client proxy for the bean

toString

public String toString()
Gets a string representation

Overrides:
toString in class Object
Returns:
The string representation

clear

public void clear()


Copyright © 2013 Seam Framework. All Rights Reserved.