org.jtheque.core.spring.aspect
Class ManagerLoggingAspect

java.lang.Object
  extended by org.jtheque.core.spring.aspect.ManagerLoggingAspect

public final class ManagerLoggingAspect
extends java.lang.Object

An AspectJ aspect to logging the managers' init, preInit and close methods.

Author:
Baptiste Wicht

Constructor Summary
ManagerLoggingAspect()
           
 
Method Summary
 java.lang.Object logClose(org.aspectj.lang.ProceedingJoinPoint joinPoint)
          Log the close method of the managers.
 java.lang.Object logInit(org.aspectj.lang.ProceedingJoinPoint joinPoint)
          Log the init method of the managers.
 java.lang.Object logPreInit(org.aspectj.lang.ProceedingJoinPoint joinPoint)
          Log the preInit method of the managers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagerLoggingAspect

public ManagerLoggingAspect()
Method Detail

logInit

public java.lang.Object logInit(org.aspectj.lang.ProceedingJoinPoint joinPoint)
                         throws java.lang.Throwable
Log the init method of the managers.

Parameters:
joinPoint - The join point of the adivised method.
Returns:
null
Throws:
java.lang.Throwable - Throw if the init method throws an exception.

logPreInit

public java.lang.Object logPreInit(org.aspectj.lang.ProceedingJoinPoint joinPoint)
                            throws java.lang.Throwable
Log the preInit method of the managers.

Parameters:
joinPoint - The join point of the adivised method.
Returns:
null
Throws:
java.lang.Throwable - Throw if the preInit method throws an exception.

logClose

public java.lang.Object logClose(org.aspectj.lang.ProceedingJoinPoint joinPoint)
                          throws java.lang.Throwable
Log the close method of the managers.

Parameters:
joinPoint - The join point of the adivised method.
Returns:
null
Throws:
java.lang.Throwable - Throw if the close method throws an exception.


Copyright © 2009 JTheque. All Rights Reserved.