{
LayerAssembly layerAssembly = applicationAssembly.layer( LAYER );
ModuleAssembly moduleAssembly = layerAssembly.module( MODULE );
moduleAssembly.services( CommentServiceComposite.class ).identifiedBy( COMMENT_SERVICE_ID );
// inject Spring bean as a service
moduleAssembly.importedServices( TextProcessingService.class ).setMetaInfo(
this.applicationContext.getBean( TO_UPPERCASE_SERVICE_ID ) );
}
public void setApplicationContext( ApplicationContext applicationContext ) throws BeansException
{