org.lsst.ccs.utilities.beanutils
Class BeanProxyFor<T>

java.lang.Object
  extended by org.lsst.ccs.utilities.beanutils.BeanProxyFor<T>
All Implemented Interfaces:
BeanFor<T>

public abstract class BeanProxyFor<T>
extends Object
implements BeanFor<T>

Super classes of all Bean "proxies" : that is class the offer a bean "vision" of a non-bean class.

Author:
bamade

Nested Class Summary
protected  class BeanProxyFor.ProxyAgent
           
 
Field Summary
protected  BeanProxyFor.ProxyAgent agent
           
protected  T delegate
           
protected  boolean methodsCalled
           
 
Constructor Summary
BeanProxyFor()
           
BeanProxyFor(T delegate)
           
 
Method Summary
 T get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agent

protected final BeanProxyFor.ProxyAgent agent

delegate

protected T delegate

methodsCalled

protected boolean methodsCalled
Constructor Detail

BeanProxyFor

public BeanProxyFor()
             throws WrappedException
Throws:
WrappedException

BeanProxyFor

public BeanProxyFor(T delegate)
             throws WrappedException
Throws:
WrappedException
Method Detail

get

public T get()
Specified by:
get in interface BeanFor<T>
Returns:
the current delegate, null if this delegate has not yet been instanciated


Copyright © 2012 LSST. All Rights Reserved.