1 /***************************************************************************** 2 * Copyright (c) PicoContainer Organization. All rights reserved. * 3 * ------------------------------------------------------------------------- * 4 * The software in this package is published under the terms of the BSD * 5 * style license a copy of which has been included with this distribution in * 6 * the LICENSE.txt file. * 7 * * 8 * Idea by Rachel Davies, Original code by various * 9 *****************************************************************************/ 10 package org.nanocontainer.aop; 11 12 /** 13 * Pointcut that picks component keys. 14 * 15 * @author Stephen Molitor 16 * @version $Revision: 3144 $ 17 */ 18 public interface ComponentPointcut { 19 20 /** 21 * Returns true if the component key satisfies this pointcut. 22 * 23 * @param componentKey the component key. 24 * @return true if the pointcut is satisfied, else false. 25 */ 26 boolean picks(Object componentKey); 27 28 } 29