evaluateProxyInterfaces algorithm.
AbstractAdvisingBeanPostProcessor, org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | order
This should run after all other processors, so that it can just add an advisor to existing proxies rather than double-proxy. |
| private ClassLoader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | evaluateProxyInterfaces(Class<?>
the class of the bean beanClass, ProxyFactory the ProxyFactory for the bean proxyFactory)Check the interfaces on the given bean class and apply them to the |
| public int | |
| protected ClassLoader | |
| protected boolean | Returns: whether the given interface is just a container callbackthe interface to check ifc)Determine whether the given interface is just a container callback and therefore not to be considered as a reasonable proxy interface. |
| protected boolean | Returns: whether the given interface is an internal language interfacethe interface to check ifc)Determine whether the given interface is a well-known internal language interface and therefore not to be considered as a reasonable proxy interface. |
| public void | setBeanClassLoader(ClassLoader
the owning class loader classLoader)Implements org. class loader to
a bean instance.
|
| public void | |
| public void | setProxyClassLoader(ClassLoader classLoader)
Set the ClassLoader to generate the proxy class in. Default is the bean ClassLoader, i.e. the ClassLoader used by the containing
|
| classLoaderConfigured | back to summary |
|---|---|
| private boolean classLoaderConfigured | |
| order | back to summary |
|---|---|
| private int order This should run after all other processors, so that it can just add an advisor to existing proxies rather than double-proxy. | |
| proxyClassLoader | back to summary |
|---|---|
| private ClassLoader proxyClassLoader
| |
| ProxyProcessorSupport | back to summary |
|---|---|
| public ProxyProcessorSupport() | |
| evaluateProxyInterfaces | back to summary |
|---|---|
| protected void evaluateProxyInterfaces(Class<?> beanClass, ProxyFactory proxyFactory) Check the interfaces on the given bean class and apply them to the Calls
| |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. Get the order value of this object. Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet Same order values will result in arbitrary sort positions for the affected objects.
| |
| getProxyClassLoader | back to summary |
|---|---|
| protected ClassLoader getProxyClassLoader() Return the configured proxy ClassLoader for this processor.
| |
| isConfigurationCallbackInterface | back to summary |
|---|---|
| protected boolean isConfigurationCallbackInterface(Class<?> ifc) Determine whether the given interface is just a container callback and therefore not to be considered as a reasonable proxy interface. If no reasonable proxy interface is found for a given bean, it will get proxied with its full target class, assuming that as the user's intention.
| |
| isInternalLanguageInterface | back to summary |
|---|---|
| protected boolean isInternalLanguageInterface(Class<?> ifc) Determine whether the given interface is a well-known internal language interface and therefore not to be considered as a reasonable proxy interface. If no reasonable proxy interface is found for a given bean, it will get proxied with its full target class, assuming that as the user's intention.
| |
| setBeanClassLoader | back to summary |
|---|---|
| public void setBeanClassLoader(ClassLoader classLoader) Implements org. Doc from org. Callback that supplies the bean Invoked after the population of normal bean properties but
before an initialization callback such as
| |
| setOrder | back to summary |
|---|---|
| public void setOrder(int order) Set the ordering which will apply to this processor's implementation
of The default value is
| |
| setProxyClassLoader | back to summary |
|---|---|
| public void setProxyClassLoader(ClassLoader classLoader) Set the ClassLoader to generate the proxy class in. Default is the bean ClassLoader, i.e. the ClassLoader used by the containing
| |