package example.domain.services;

import example.framework.ComponentAdaptor;
import example.framework.Container;

public class ServicesComponent extends ComponentAdaptor {

    public void registerApplicationScope(Container applicationScope) {
        //applicationScope.register(HashMapDocumentRepository.class);
        applicationScope.register(CouchdbDocumentRepository.class);
    }

    public void registerRequestScope(Container requestScope) {
        requestScope.register(SimpleDocumentValidator.class);
    }
}

@@ -249,10 +249,8 @@
     
-//
 appl
@@ -305,32 +305,34 @@
 class);%0A        
+//
 applicationScope

use HashMap based repository by default