1 /*2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.3 */4 package com.tc.aspectwerkz.definition;5 6 /**7 * Holds the meta-data for the pointcuts.8 *9 * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>10 */11 public class PointcutDefinition {12 /**13 * The expression.14 */15 private final String m_expression;16 17 /**18 * Creates a new pointcut definition instance.19 *20 * @param expression21 */22 public PointcutDefinition(final String expression) {23 m_expression = expression;24 }25 26 /**27 * Returns the expression for the pointcut.28 *29 * @return the expression for the pointcut30 */31 public String getExpression() {32 return m_expression;33 }34 }