railo-context.Component coldbox.system.aop.Matcher
I match class and method names to data in this matcher
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
any
|
andMatch(any matcher)
AND this matcher with another matcher. |
any
|
annotatedWith(any annotation, [any value])
Matches annotations on components or methods with or without a value. |
any
|
any()
Match against any method name or class path. |
any
|
getMemento()
Get the matcher memento. |
any
|
instanceOf(any classPath)
Matches against a family of components according to the passed classPath. |
any
|
mappings(any mappings)
Match one, list or array of mapping names. |
boolean
|
matchClass(any target, any<Mapping> mapping)
Matches a class to this matcher according to its criteria. |
private boolean
|
matchClassRules(any target, any<Mapping> mapping)
Go through all the rules in this matcher and match. |
boolean
|
matchMethod(any metadata)
Matches a method to this matcher according to its criteria. |
private boolean
|
matchMethodRules(any metadata)
Go through all the rules in this matcher and match. |
any
|
methods(any methods)
A list, one or an array of methods to explicitly match. |
any
|
orMatch(any matcher)
OR this matcher with another matcher. |
any
|
regex(any regex)
Matches a class path or method name to this regular expression. |
any
|
reset()
Reset the matcher memento to defaults. |
any
|
returns(any type)
Match against return types in methods only. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
Method Detail |
---|
AND this matcher with another matcher
matcher
- The matcher to AND this matcher withMatches annotations on components or methods with or without a value
annotation
- The annotation to discovervalue
- The value of the annotation that must match. OPTIONALMatch against any method name or class path
Get the matcher memento
Matches against a family of components according to the passed classPath. Class Matching Only.
classPath
- The class path to verify instance ofMatch one, list or array of mapping names. Class Matching Only.
mappings
- One, list or array of mappings to matchMatches a class to this matcher according to its criteria
target
- The target to match against tomapping
- The target mapping to match against toGo through all the rules in this matcher and match
target
- The target to match against tomapping
- The target mapping to match against toMatches a method to this matcher according to its criteria
metadata
- The UDF metadata to use for matchingGo through all the rules in this matcher and match
metadata
- The UDF metadata to use for matchingA list, one or an array of methods to explicitly match
methods
- One, list or array of methods to matchOR this matcher with another matcher
matcher
- The matcher to OR this matcher withMatches a class path or method name to this regular expression
regex
- The regular expression to match againstReset the matcher memento to defaults
Match against return types in methods only
type
- The type of return to match against. Only for method matching