Interface AdviceService
- All Known Implementing Classes:
AdviceServiceImpl
public interface AdviceService
Simple service providing interceptor advices for ordinary POJOs. Since the
implementation uses Dynamic Proxies only methods invoked by an interface
can be advised.
- Author:
- Siegfried Goeschl
-
Method Summary
Modifier and TypeMethodDescriptionAdvice the object with a the list of default AvalonInterceptorServices.Advice the object with a list of AvalonInterceptorServices.Advice the object with a the list of default AvalonInterceptorServices.Advice the object with a list of AvalonInterceptorServices.boolean
Is the given object already adviced?
-
Method Details
-
isAdviced
Is the given object already adviced?- Parameters:
object
- the object to check- Returns:
- true if the object is an dynamic proxy
-
advice
Advice the object with a the list of default AvalonInterceptorServices.- Parameters:
object
- the object to be advised- Returns:
- the advised object
-
advice
Advice the object with a the list of default AvalonInterceptorServices.- Parameters:
name
- the name of the objectobject
- the object to be advised- Returns:
- the advised object
-
advice
Advice the object with a list of AvalonInterceptorServices.- Parameters:
interceptorList
- the list of service namesobject
- the object to be advised- Returns:
- the advised object
-
advice
Advice the object with a list of AvalonInterceptorServices.- Parameters:
name
- the associated name of the objectinterceptorList
- the list of service namesobject
- the object to be advised- Returns:
- the advised object
-