@SuppressWarnings("unchecked") public <T> ComponentAdapter<T> createComponentAdapter(final ComponentMonitor monitor, final LifecycleStrategy lifecycle, final Properties props, final Object key, final Class<T> impl, final ConstructorParameters constructorParams, final FieldParameters[] fieldParams, final MethodParameters[] methodParams) throws PicoCompositionException { ComponentAdapter<T> adapter = constructorInjection.createComponentAdapter(monitor, lifecycle, props, key, impl, constructorParams, fieldParams, methodParams); String otherKey = props.getProperty("ForCAF"); if (otherKey != null && !otherKey.equals("")) { props.remove("ForCAF"); return new MySingleMemberInjector(key, impl, monitor, false, true, otherKey, (Injector) adapter); } return adapter; } }