How to programmatically achieve the same result (as the following annotation would achieve)? Or injecting the value 'SMITH' in a spring configuration file?
@Filter(name="smithFilter", condition="LAST_NAME = 'SMITH'")
public String getLastName()
{
return this.lastName;
}