SMX 4.x basically is an OSGi container, you shouldn't put customer interceptor into lib folder(lib folder generally is used for system level lib), you should put this interceptor class into your serviceunit bundle.
Ok, thanks for your answer.
Then, the information found in smx/lib/README does not it make sense?.
Is there any way to share a library between different elements osgi?
Readme information :
This directory is the standard java classpath directory.
Any jar in this folder will be part of the main classloader used to load Karaf.
However, in OSGi, classes defined in this jar won't be available to other bundles
unless one of the org.osgi.framework.system.packages.extra or
org.osgi.framework.bootdelegation property in the etc/config.properties file
is modified to export or delegate the packages.
Please refer to the OSGi Core Specification for more informations on those
properties and the OSGi classloading mechanism.
I need some example of a valid file for the property busCfg, as always I get the following message:
java.lang.RuntimeException: org.springframework.context.ApplicationContextException: Failed to load bundle-context.xml configuration.
I add my config file.
blunde-context.xml 967 bytes