public interface FallbackStrategy
The FallbackStrategy is declared on the OSGiServiceImporter
service declaration, like;
FallbackStrategy strategy = new MyStrategy();
module.services( OSGiServiceImporter.class )
.identifiedBy( "osgi" )
.setMetaInfo( bundleContext )
.setMetaInfo( strategy );
Modifier and Type | Method and Description |
---|---|
Object |
invoke(org.osgi.framework.ServiceReference reference,
Method method,
Object... args) |