return type;
}
public Class<?> getImplementationForInterface(Class type)
{
ServiceImplementation annotation= (ServiceImplementation) type.getAnnotation(ServiceImplementation.class);
if (annotation != null)
return annotation.value();
else
{
Class<?> implementation= implementations.get(type);
if (implementation != null)
{