01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.aspectwerkz.definition;
05:
06: /**
07: * Holds the meta-data for the pointcuts.
08: *
09: * @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 expression
21: */
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 pointcut
30: */
31: public String getExpression() {
32: return m_expression;
33: }
34: }
|