1 4 5 package com.tc.aspectwerkz.definition.deployer; 6 7 import com.tc.aspectwerkz.definition.AspectDefinition; 8 import com.tc.aspectwerkz.definition.DefinitionParserHelper; 9 10 15 public class PointcutDefinitionBuilder implements DefinitionBuilder { 16 private final String m_name; 17 private final String m_expression; 18 private final AspectDefinition m_aspectDef; 19 20 public PointcutDefinitionBuilder(final String name, final String expression, final AspectDefinition aspectDef) { 21 m_name = name; 22 m_expression = expression; 23 m_aspectDef = aspectDef; 24 } 25 26 public void build() { 27 DefinitionParserHelper.createAndAddPointcutDefToAspectDef( 28 m_name, m_expression, m_aspectDef 29 ); 30 } 31 } 32 | Popular Tags |