KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > aspectwerkz > definition > PointcutDefinition


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 JavaDoc m_expression;
16
17   /**
18    * Creates a new pointcut definition instance.
19    *
20    * @param expression
21    */

22   public PointcutDefinition(final String JavaDoc 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 JavaDoc getExpression() {
32     return m_expression;
33   }
34 }
Popular Tags