}
ModuleAssembly resources = rest.module( "Resources" );
for( Class<?> resourceClass : ClassScanner.findClasses( RootResource.class ) )
{
resources.objects( resourceClass ).visibleIn( Visibility.layer );
}
ModuleAssembly restlet = rest.module( "Restlet" );
restlet.objects( ForumRestlet.class );
restlet.importedServices( CommandResult.class ).setMetaInfo( new DomainCommandResult() );