Scope scope = serviceImplementation.getAnnotation(Scope.class);
_scope = scope != null ? scope.value() : IOCConstants.DEFAULT_SCOPE;
Marker marker = serviceImplementation.getAnnotation(Marker.class);
if (marker != null)
{
InternalUtils.validateMarkerAnnotations(marker.value());
_markers.addAll(Arrays.asList(marker.value()));
}
return this;
}