@Component
@org.apache.felix.ipojo.extender.Extender(extension="My-Extension", onArrival="onArrival", onDeparture="onDeparture")
public class Myextender {
public void onArrival(Bundle bundle, String extension) {
// handle matching bundle arrival
}
public void onDeparture(Bundle bundle) {
// handler matching bundle departure
}
}
|