org.springframework.aop.framework.autoproxy
Class BeanNameAutoProxyCreator
org.springframework.aop.framework.ProxyConfig
|
+--org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
|
+--org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator
- public class BeanNameAutoProxyCreator
- extends AbstractAutoProxyCreator
Auto proxy creator that identifies beans to proxy via a list of names.
Checks for direct, "xxx*", and "*xxx" matches.
- Author:
- Juergen Hoeller
- Since: 10.10.2003
- See Also: setBeanNames(java.lang.String[]), isMatch(java.lang.String,java.lang.String)
| Method Summary |
void | setBeanNames(String[] beanNames) Set the names of the beans that should automatically get wrapped with proxies. |
setBeanNames
public void setBeanNames(String[] beanNames)
- Set the names of the beans that should automatically get wrapped with proxies.
A name can specify a prefix to match by ending with "*", e.g. "myBean,tx*"
will match the bean named "myBean" and all beans whose name start with "tx".
to Class java.util.List