Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.nanocontainer.aop.defaults
Class KeyEqualsComponentPointcut

    java.lang.Object
      org.nanocontainer.aop.defaults.KeyEqualsComponentPointcut

All Implemented Interfaces:
  ComponentPointcut

    public class KeyEqualsComponentPointcut

extends Object
implements ComponentPointcut

Component pointcut that matches against a component key.

Version:
  $Revision: 3144 $
Author:
  Stephen Molitor

Constructor Summary
`KeyEqualsComponentPointcut(Object componentKey)` Creates a new `KeyEqualsComponentPointcut` that matches against `componentKey`.

Method Summary
`boolean` | `picks(Object componentKey)` Tests to see if the `componentKey` matches the component key passed to the constructor.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### KeyEqualsComponentPointcut

    public KeyEqualsComponentPointcut(Object componentKey)

  Creates a new `KeyEqualsComponentPointcut` that matches against `componentKey`.

  Parameters:
    `componentKey` - the component key to match against.

Method Detail

### picks

    public boolean picks(Object componentKey)

  Tests to see if the `componentKey` matches the component key passed to the constructor.

  Specified by:
    `picks` in interface `ComponentPointcut`
  Parameters:
    `componentKey` - the candidate component key to match against.
  Returns:
    true if `componentKey` is equivalent to the component key passed to the constructor, else false.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2007 Codehaus. All Rights Reserved.