JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.wrappers
Class VerboseWrapper

java.lang.Object
  |
  +--org.objectweb.jac.core.Wrapper
        |
        +--org.objectweb.jac.wrappers.VerboseWrapper
All Implemented Interfaces:
Serializable

public class VerboseWrapper
extends Wrapper

This wrapper prints some informations about the wrapped method when it is called.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
 
Constructor Summary
VerboseWrapper(AspectComponent ac)
           
 
Method Summary
 Object printCallingInfos(Interaction interaction)
          A wrapping method that prints out the calling informations.
 Object printNamedArgs(Interaction interaction)
           
 Object printStackTrace(Interaction interaction)
           
 Object printWrappersTrace(Interaction interaction)
           
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerboseWrapper

public VerboseWrapper(AspectComponent ac)
Method Detail

printCallingInfos

public Object printCallingInfos(Interaction interaction)
A wrapping method that prints out the calling informations.

Returns:
the value of the called method

printNamedArgs

public Object printNamedArgs(Interaction interaction)

printStackTrace

public Object printStackTrace(Interaction interaction)

printWrappersTrace

public Object printWrappersTrace(Interaction interaction)

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli