com.lonniepryor.blues.cfg
Class PointcutCfgImpl

java.lang.Object
  |
  +--com.lonniepryor.blues.cfg.PointcutCfgImpl
All Implemented Interfaces:
PointcutCfg, TextContainer, Verifiable

public class PointcutCfgImpl
extends java.lang.Object
implements PointcutCfg, TextContainer, Verifiable

Generic implementation of PointcutCfg.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Constructor Summary
PointcutCfgImpl()
          Creates a new PointcutCfgImpl object.
 
Method Summary
 void appendText(char[] characters, int startIndex, int textLength)
          Supplies the specified character data to this configuration element.
 java.lang.String getName()
          Returns the name of this pointcut.
 Pointcut getPointcut()
          Returns the specification used to evaluate join points.
 void setName(java.lang.String name)
          Sets the name of this pointcut.
 void verify()
          Verifies the state of this configuration element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointcutCfgImpl

public PointcutCfgImpl()
Creates a new PointcutCfgImpl object.

Method Detail

setName

public void setName(java.lang.String name)
Sets the name of this pointcut.

Parameters:
name - The name of this pointcut.

appendText

public void appendText(char[] characters,
                       int startIndex,
                       int textLength)
Description copied from interface: TextContainer
Supplies the specified character data to this configuration element.

Specified by:
appendText in interface TextContainer
Parameters:
characters - The contnent of the text.
startIndex - The index in the array where this container's data starts.
textLength - The length of the text meant for this container.

verify

public void verify()
Description copied from interface: Verifiable
Verifies the state of this configuration element.

Specified by:
verify in interface Verifiable

getName

public java.lang.String getName()
Description copied from interface: PointcutCfg
Returns the name of this pointcut.

Specified by:
getName in interface PointcutCfg
Returns:
The name of this pointcut.

getPointcut

public Pointcut getPointcut()
Description copied from interface: PointcutCfg
Returns the specification used to evaluate join points.

Specified by:
getPointcut in interface PointcutCfg
Returns:
The specification used to evaluate join points.


Copyright © 2003 Blues Framework. All Rights Reserved.