org.perfectjpattern.core.structural.proxy
Class ImageProxy
java.lang.Object
org.perfectjpattern.core.structural.AbstractSurrogate<C,C>
org.perfectjpattern.core.structural.proxy.AbstractProxy<IGraphic>
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
-
-
ImageProxy
public ImageProxy(IGraphic aComponent)
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:
- Provides facility to invoke a method on the actual Underlying
- Concrete surrogate implementations that override this method have
a single point to control access to the actual Underlying method
invokation.
- Overrides:
invokeUnderlying
in class AbstractSurrogate<IGraphic,IGraphic>
- Parameters:
aMethod
- Method to invokeanArguments
- 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.