Errai 3.0.1-SNAPSHOT

org.jboss.errai.ioc.client.container
Interface ProxyResolver<T>


public interface ProxyResolver<T>

A ProxyResolver is used to implement a proxy closing strategy in the wiring of beans within the container. This interface is not intended to be used directly by users, but rather implementations of this interface are meant to be generated by the bootstrap generator.

The resolver itself has one method resolve(Object) that accepts a reference to the actual bean instance which is being proxied. The implementor of this class must then take appropriate action to deal with setting up the proxy.

The ProxyResolvers are always called prior to the beans being put into service.

Author:
Mike Brock

Method Summary
 void resolve(T t)
          The method called by the CreationalContext when it is ready to wire the actual bean instance to the proxy.
 

Method Detail

resolve

void resolve(T t)
The method called by the CreationalContext when it is ready to wire the actual bean instance to the proxy.

Parameters:
t - the actual non-proxied instance of the bean.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.