final NamespaceIndexerService nsindexer =
new NamespaceIndexerServiceImpl();
final CacheLookupService cacheLookup = new DefaultCacheLookupService();
final NamespaceService nsService = new DefaultNamespaceService(
cache, cacheLookup, nsindexer);
final SemanticService semantics = new SemanticServiceImpl(nsService);
final ExpansionService expansion = new ExpansionServiceImpl();
final AnnotationService annotationService =
new DefaultAnnotationService();
final AnnotationDefinitionService annotationDefinitionService =
new DefaultAnnotationDefinitionService(cache, cacheLookup);