org.perfectjpattern.core.structural.proxy
Class ImageProxy

java.lang.Object
  extended by org.perfectjpattern.core.structural.AbstractSurrogate<C,C>
      extended by org.perfectjpattern.core.structural.proxy.AbstractProxy<IGraphic>
          extended by org.perfectjpattern.core.structural.proxy.ImageProxy
All Implemented Interfaces:
InvocationHandler, ISurrogate<IGraphic>, IProxy<IGraphic>

public class ImageProxy
extends AbstractProxy<IGraphic>

Proxy that control access to Image instances

Version:
$Revision: 1.0 $Date: Apr 5, 2008 11:57:56 PM $
Author:
Giovanni Azua
 

Constructor Summary
ImageProxy(IGraphic aComponent)
           
 
Method Summary
protected  Object invokeUnderlying(Method aMethod, Object[] anArguments)
          Returns the result of the Method invocation.
protected static void setLogger(org.slf4j.Logger aLogger)
           
 
Methods inherited from class org.perfectjpattern.core.structural.proxy.AbstractProxy
getRealSubject, getSubject
 
Methods inherited from class org.perfectjpattern.core.structural.AbstractSurrogate
equals, getComponent, getComponentClass, getUnderlying, hashCode, invoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.perfectjpattern.core.api.structural.ISurrogate
getComponent
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Constructor Detail

ImageProxy

public ImageProxy(IGraphic aComponent)
Method Detail

invokeUnderlying

protected Object invokeUnderlying(Method aMethod,
                                  Object[] anArguments)
                           throws Throwable
Description copied from class: AbstractSurrogate
Returns the result of the Method invocation. This method has two main purposes:

Overrides:
invokeUnderlying in class AbstractSurrogate<IGraphic,IGraphic>
Parameters:
aMethod - Method to invoke
anArguments - Array of input arguments for the Method to invoke
Returns:
result of the Method invocation
Throws:
Throwable

setLogger

protected static void setLogger(org.slf4j.Logger aLogger)


Copyright © 2007-2009. All Rights Reserved.