org.objectweb.jac.aspects.gui
Class WaitWrapper

java.lang.Object
  extended byorg.objectweb.jac.core.Wrapper
      extended byorg.objectweb.jac.aspects.gui.WaitWrapper
All Implemented Interfaces:
Advice, ConstructorInterceptor, Interceptor, MethodInterceptor, Serializable

public class WaitWrapper
extends Wrapper

This wrapper displays a "Please wait message" for slow operations.

See Also:
GuiAC.setSlowOperation(AbstractMethodItem,boolean), Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac, cr
 
Constructor Summary
WaitWrapper(AspectComponent ac)
           
 
Method Summary
 Object construct(ConstructorInvocation invocation)
           
 Object invoke(MethodInvocation invocation)
           
 Object pleaseWait(Interaction interaction)
           
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WaitWrapper

public WaitWrapper(AspectComponent ac)
Method Detail

pleaseWait

public Object pleaseWait(Interaction interaction)

invoke

public Object invoke(MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface MethodInterceptor
Overrides:
invoke in class Wrapper
Throws:
Throwable

construct

public Object construct(ConstructorInvocation invocation)
                 throws Throwable
Specified by:
construct in interface ConstructorInterceptor
Overrides:
construct in class Wrapper
Throws:
Throwable