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.
|
doProceed
getInterfaces, implementInterfacesOnObject, implementsInterface, isMethodOnIntroducedInterface, suppressInterface
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
implementsInterface
public ExposeBeanNameIntroduction(java.lang.String beanName)
public java.lang.Object invoke(MethodInvocation mi) throws java.lang.Throwable
DelegatingIntroductionInterceptor
invoke
in interface MethodInterceptor
invoke
in class DelegatingIntroductionInterceptor
mi
- 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()
NamedBean
getBeanName
in interface NamedBean