Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectNameAutoProxyCreator.IsMatch Method

Return if the given object name matches the mapped name.

[Visual Basic]
Protected Overridable Sub IsMatch( _
   ByVal objectName As String, _
   ByVal mappedName As String _
)
[C#]
protected virtual bool IsMatch(
   string objectName,
   string mappedName
);

Parameters

objectName
the object name to check
mappedName
the name in the configured list of names

Return Value

if the names match

Remarks

The default implementation checks for "xxx*", "*xxx" and "*xxx*" matches, as well as direct equality. Can be overridden in subclasses.

See Also

ObjectNameAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace