Schnittstelle AdviceService

Alle bekannten Implementierungsklassen:
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.
Autor:
Siegfried Goeschl
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    advice(Object object)
    Advice the object with a the list of default AvalonInterceptorServices.
    advice(String[] interceptorList, Object object)
    Advice the object with a list of AvalonInterceptorServices.
    advice(String name, Object object)
    Advice the object with a the list of default AvalonInterceptorServices.
    advice(String name, String[] interceptorList, Object object)
    Advice the object with a list of AvalonInterceptorServices.
    boolean
    isAdviced(Object object)
    Is the given object already adviced?
  • Methodendetails

    • isAdviced

      boolean isAdviced(Object object)
      Is the given object already adviced?
      Parameter:
      object - the object to check
      Gibt zurück:
      true if the object is an dynamic proxy
    • advice

      Object advice(Object object)
      Advice the object with a the list of default AvalonInterceptorServices.
      Parameter:
      object - the object to be advised
      Gibt zurück:
      the advised object
    • advice

      Object advice(String name, Object object)
      Advice the object with a the list of default AvalonInterceptorServices.
      Parameter:
      name - the name of the object
      object - the object to be advised
      Gibt zurück:
      the advised object
    • advice

      Object advice(String[] interceptorList, Object object)
      Advice the object with a list of AvalonInterceptorServices.
      Parameter:
      interceptorList - the list of service names
      object - the object to be advised
      Gibt zurück:
      the advised object
    • advice

      Object advice(String name, String[] interceptorList, Object object)
      Advice the object with a list of AvalonInterceptorServices.
      Parameter:
      name - the associated name of the object
      interceptorList - the list of service names
      object - the object to be advised
      Gibt zurück:
      the advised object