T - the type managed by this Proxypublic class Proxy<T> extends Object
 public class MyProxy extends Proxy<MySharedInterface> implements MySharedInterface{
        public void foo(){
                try{
                        invoke();
                }
                catch(Throwable e){
                        // return or throw default case (deny of service)
                }
        }
 
 A Proxy instance has a link to a reference owned by another Feature.
 The reference may be automatically removed by the garbage collector.| Constructor and Description | 
|---|
Proxy()
The default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
getReference()
Returns the reference managed by this  
Proxy. | 
protected void | 
invoke()
This method has for effect to invoke the same method on the reference. 
 | 
protected boolean | 
invokeBoolean()
This method has for effect to invoke the same method on the reference. 
 | 
protected byte | 
invokeByte()
This method has for effect to invoke the same method on the reference. 
 | 
protected char | 
invokeChar()
This method has for effect to invoke the same method on the reference. 
 | 
protected double | 
invokeDouble()
This method has for effect to invoke the same method on the reference. 
 | 
protected float | 
invokeFloat()
This method has for effect to invoke the same method on the reference. 
 | 
protected int | 
invokeInt()
This method has for effect to invoke the same method on the reference. 
 | 
protected long | 
invokeLong()
This method has for effect to invoke the same method on the reference. 
 | 
protected Object | 
invokeRef()
This method has for effect to invoke the same method on the reference. 
 | 
protected short | 
invokeShort()
This method has for effect to invoke the same method on the reference. 
 | 
@Nullable public T getReference()
Proxy.null if the reference has been reclaimed.protected final void invoke()
                     throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final boolean invokeBoolean()
                               throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final byte invokeByte()
                         throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final char invokeChar()
                         throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final double invokeDouble()
                             throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final float invokeFloat()
                           throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final int invokeInt()
                       throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final long invokeLong()
                         throws Throwable
Throwable - any kind of exceptions must be catched by the callerprotected final Object invokeRef() throws Throwable
protected final short invokeShort()
                           throws Throwable
Throwable - any kind of exceptions must be catched by the caller