public class BeanIdentifierImpl extends Object implements BeanIdentifier, org.springframework.beans.factory.BeanFactoryAware
AuditMethodInterceptor
.
Originally used to look up public services annotated with @PublicService
,
but has now been relaxed to be any bean that uses a proxy. For the method to be
audited it still needs to be annotated with @Auditable
.
Constructor and Description |
---|
BeanIdentifierImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getBeanName(org.aopalliance.intercept.MethodInvocation mi)
Get the name of the bean (normally a service) for the method invocation.
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public String getBeanName(org.aopalliance.intercept.MethodInvocation mi)
getBeanName
in interface BeanIdentifier
mi
- the method invocationCopyright © 2005–2017 Alfresco Software. All rights reserved.