001    package org.trails.hibernate;
002    
003    import java.lang.reflect.Method;
004    
005    import org.springframework.aop.MethodBeforeAdvice;
006    
007    
008    public class HibernatePersistenceValidationAdvice implements MethodBeforeAdvice
009    {
010    
011            public HibernatePersistenceValidationAdvice()
012            {
013                    super();
014                    // TODO Auto-generated constructor stub
015            }
016    
017            public void before(Method arg0, Object[] arg1, Object arg2) throws Throwable
018            {
019                    //System.out.println("in advice");
020            }
021    
022    }