public interface AopService
Important: A service implementation should only register as
an AopService
so that service listeners only see the service
proxy.
Modifier and Type | Method and Description |
---|---|
default java.lang.Class<?>[] |
getAopInterfaces()
Returns the services that the service proxy registers into OSGi for this
AopService . |
default void |
setAopProxy(java.lang.Object aopProxy)
Sets this service's enclosing AOP proxy.
|
default java.lang.Class<?>[] getAopInterfaces()
AopService
.
If the method is not overridden, all the services this
AopService
directly implements, except
AopService
, are returned and registered into OSGi by the
service proxy.
Here are the restraints:
AopService
AopService
implementation must implement each service
interface
AopService
implementation must implement something in
addition to AopService
default void setAopProxy(java.lang.Object aopProxy)
aopProxy
- this service's enclosing AOP proxy