private static class ExposeBeanNameAdvisors.ExposeBeanNameIntroduction extends DelegatingIntroductionInterceptor implements NamedBean
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
beanName |
publishedInterfaces| Constructor and Description |
|---|
ExposeBeanNameIntroduction(java.lang.String beanName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBeanName()
Return the name of this bean in a Spring bean factory, if known.
|
java.lang.Object |
invoke(MethodInvocation mi)
Subclasses may need to override this if they want to perform custom
behaviour in around advice.
|
doProceedgetInterfaces, implementInterfacesOnObject, implementsInterface, isMethodOnIntroducedInterface, suppressInterfaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitimplementsInterfacepublic ExposeBeanNameIntroduction(java.lang.String beanName)
public java.lang.Object invoke(MethodInvocation mi) throws java.lang.Throwable
DelegatingIntroductionInterceptorinvoke in interface MethodInterceptorinvoke in class DelegatingIntroductionInterceptormi - the method invocation joinpointJoinpoint.proceed();
might be intercepted by the interceptorjava.lang.Throwable - if the interceptors or the target object
throws an exceptionpublic java.lang.String getBeanName()
NamedBeangetBeanName in interface NamedBean