@Test public void testRemovalOfAopSupportAtRuntime() { withAopSupportServiceReturningOriginalModel(); unbindAopSupport(); mapResourceToModel(); verifyAopSupportIsNeverCalled(); assertModelReturnedFromMapperIsOriginalModel(); }
@Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbindAopSupport") protected void unbindAopSupport(AopSupport support) { if (support == null) { return; } this.aopSupports.remove(support); }
ResourceToModelMapper { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbindAopSupport") protected void unbindAopSupport(AopSupport support) { if (support == null) { return; } this.aopSupports.remove(support); } }
ResourceToModelMapper { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbindAopSupport") protected void unbindAopSupport(AopSupport support) { if (support == null) { return; } this.aopSupports.remove(support); }  }
ResourceToModelMapper { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbindAopSupport") protected void unbindAopSupport(AopSupport support) { if (support == null) { return; } this.aopSupports.remove(support); }  T map(final Resource resource, final ResolvedModelSource<T> resolvedModelSource); }
ResourceToModelMapper { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbindAopSupport") protected void unbindAopSupport(AopSupport support) { if (support == null) { return; } this.aopSupports.remove(support); }  T map(final Resource resource, final ResolvedModelSource<T> resolvedModelSource);  }