001    package org.shiftone.jrat.integration.aop.aspectwerkz;
002    
003    
004    import org.codehaus.aspectwerkz.joinpoint.JoinPoint;
005    import org.shiftone.jrat.api.Command;
006    
007    
008    /**
009     * @author jeff@shiftone.org (Jeff Drost)
010     */
011    public class AspectWerkzJoinPointCommand implements Command {
012    
013        private final JoinPoint joinPoint;
014    
015        public AspectWerkzJoinPointCommand(JoinPoint joinPoint) {
016            this.joinPoint = joinPoint;
017        }
018    
019    
020        public Object execute() throws Throwable {
021            return joinPoint.proceed();
022        }
023    }