1 /************************************************************************************** 2 * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. * 3 * http://aspectwerkz.codehaus.org * 4 * ---------------------------------------------------------------------------------- * 5 * The software in this package is published under the terms of the LGPL license * 6 * a copy of which has been included with this distribution in the license.txt file. * 7 **************************************************************************************/ 8 package org.codehaus.aspectwerkz.definition; 9 10 /** 11 * Holds the meta-data for the pointcuts. 12 * 13 * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a> 14 */ 15 public class PointcutDefinition { 16 /** 17 * The expression. 18 */ 19 private final String m_expression; 20 21 /** 22 * Creates a new pointcut definition instance. 23 * 24 * @param expression 25 */ 26 public PointcutDefinition(final String expression) { 27 m_expression = expression; 28 } 29 30 /** 31 * Returns the expression for the pointcut. 32 * 33 * @return the expression for the pointcut 34 */ 35 public String getExpression() { 36 return m_expression; 37 } 38 }