com.xenonsoft.bridgetown.aop.impl
Class DefaultGlobClassFinder

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

public class DefaultGlobClassFinder
extends java.lang.Object
implements IClassFinder, java.io.Serializable

Default class 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: DefaultGlobClassFinder.java,v 1.3 2005/03/17 02:24:48 peter_pilgrim Exp $
Author:
peterp, 21-Sep-2004
See Also:
Serialized Form

Constructor Summary
DefaultGlobClassFinder()
          Default constructor
 
Method Summary
 java.lang.String getFinder()
          Gets the global expression that matches a fully qualified class name.
 boolean isMatched(java.lang.Class clazz)
          Find out if the input class is a match or not
 void setFinder(java.lang.String matchString)
          Sets the global expression that matches a fully qualified class 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

DefaultGlobClassFinder

public DefaultGlobClassFinder()
Default constructor

Method Detail

getFinder

public java.lang.String getFinder()
Gets the global expression that matches a fully qualified class name.

Specified by:
getFinder in interface IClassFinder
Returns:
the match expression
See Also:
IClassFinder.getFinder()

setFinder

public void setFinder(java.lang.String matchString)
Sets the global expression that matches a fully qualified class name.

Specified by:
setFinder in interface IClassFinder
Parameters:
matchString - the match expression
See Also:
IClassFinder.setFinder(java.lang.String)

isMatched

public boolean isMatched(java.lang.Class clazz)
Find out if the input class is a match or not

Specified by:
isMatched in interface IClassFinder
Parameters:
clazz - the input class to check
Returns:
the boolean value if true this class matches the filter.
See Also:
com.xenonsoft.bridgetown.aop.IClassFinder#isMatch(java.lang.Class)

toString

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

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


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.