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