@Test public void unbindNullService() { Map<String, String> props = new HashMap<String, String>(); props.put(OSGI_SERVICE_BLUEPRINT_COMPNAME, "delegate"); resolver.unbindService(null, props); }
public void unbindService(JavaDelegate delegate, Map<?, ?> props) { String name = (String) props.get("osgi.service.blueprint.compname"); if (delegateMap.containsKey(name)) { delegateMap.remove(name); } LOGGER.info("removed service from delegate cache " + name); }
BlueprintELResolver extends ELResolver { public void unbindService(JavaDelegate delegate, Map<?, ?> props) { String name = (String) props.get("osgi.service.blueprint.compname"); if (delegateMap.containsKey(name)) { delegateMap.remove(name); } LOGGER.info("removed service from delegate cache " + name); } }
BlueprintELResolver extends ELResolver { public void unbindService(JavaDelegate delegate, Map<?, ?> props) { String name = (String) props.get("osgi.service.blueprint.compname"); if (delegateMap.containsKey(name)) { delegateMap.remove(name); } LOGGER.info("removed service from delegate cache " + name); }  }
BlueprintELResolver extends ELResolver { public void unbindService(JavaDelegate delegate, Map<?, ?> props) { String name = (String) props.get("osgi.service.blueprint.compname"); if (delegateMap.containsKey(name)) { delegateMap.remove(name); } LOGGER.info("removed service from delegate cache " + name); }  @Override Object getValue(ELContext context, Object base, Object property); void bindService(JavaDelegate delegate, Map<?, ?> props); void unbindService(JavaDelegate delegate, Map<?, ?> props); void bindTaskListenerService(TaskListener delegate, Map props); void unbindTaskListenerService(TaskListener delegate, Map props); void bindActivityBehaviourService(ActivityBehavior delegate, Map props); void unbindActivityBehaviourService(ActivityBehavior delegate, Map props); @Override boolean isReadOnly(ELContext context, Object base, Object property); @Override void setValue(ELContext context, Object base, Object property,
			Object value); @Override Class<?> getCommonPropertyType(ELContext context, Object arg); @Override Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
			Object arg); @Override Class<?> getType(ELContext context, Object arg1, Object arg2); }
BlueprintELResolver extends ELResolver { public void unbindService(JavaDelegate delegate, Map<?, ?> props) { String name = (String) props.get("osgi.service.blueprint.compname"); if (delegateMap.containsKey(name)) { delegateMap.remove(name); } LOGGER.info("removed service from delegate cache " + name); }  @Override Object getValue(ELContext context, Object base, Object property); void bindService(JavaDelegate delegate, Map<?, ?> props); void unbindService(JavaDelegate delegate, Map<?, ?> props); void bindTaskListenerService(TaskListener delegate, Map props); void unbindTaskListenerService(TaskListener delegate, Map props); void bindActivityBehaviourService(ActivityBehavior delegate, Map props); void unbindActivityBehaviourService(ActivityBehavior delegate, Map props); @Override boolean isReadOnly(ELContext context, Object base, Object property); @Override void setValue(ELContext context, Object base, Object property,
			Object value); @Override Class<?> getCommonPropertyType(ELContext context, Object arg); @Override Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
			Object arg); @Override Class<?> getType(ELContext context, Object arg1, Object arg2);  }