com.xenonsoft.bridgetown.aop.impl
Class DefaultGlobMethodFinder

java.lang.Object
  extended bycom.xenonsoft.bridgetown.aop.impl.DefaultGlobMethodFinder
All Implemented Interfaces:
IMethodFinder, java.io.Serializable

public class DefaultGlobMethodFinder
extends java.lang.Object
implements IMethodFinder, java.io.Serializable

Default method finder that uses glob expressions. This class is build with Jakarta ORO project. http://www.javaworld.com/javaworld/jw-07-2001/jw-0713-regex_p.html

Version:
$Id: DefaultGlobMethodFinder.java,v 1.3 2005/03/17 02:24:48 peter_pilgrim Exp $
Author:
peterp, 21-Sep-2004
See Also:
Serialized Form

Constructor Summary
DefaultGlobMethodFinder()
          Default constructor
 
Method Summary
 java.lang.String getFinder()
          Gets the glob expression for find a matching method name
 boolean isMatched(java.lang.reflect.Method method)
          Find out if the input method is a match or not
 void setFinder(java.lang.String matchString)
          Gets the glob expression for find a matching method name
 java.lang.String toString()
          Prints the debuggable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultGlobMethodFinder

public DefaultGlobMethodFinder()
Default constructor

Method Detail

getFinder

public java.lang.String getFinder()
Gets the glob expression for find a matching method name

Specified by:
getFinder in interface IMethodFinder
Returns:
See Also:
IMethodFinder.getFinder()

setFinder

public void setFinder(java.lang.String matchString)
Gets the glob expression for find a matching method name

Specified by:
setFinder in interface IMethodFinder
Parameters:
matchString -
See Also:
IMethodFinder.setFinder(java.lang.String)

isMatched

public boolean isMatched(java.lang.reflect.Method method)
Find out if the input method is a match or not

Specified by:
isMatched in interface IMethodFinder
Parameters:
method -
Returns:
the boolean value if true this method matches the filter.
See Also:
IMethodFinder.isMatched(java.lang.reflect.Method)

toString

public java.lang.String toString()
Prints the debuggable string

Returns:
debug string
See Also:
Object.toString()


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.