code: public ApplicationDefinition getApplication(Tenant tenant, String appName) {
          checkServiceState();
          return getApplicationDefinition(tenant, appName);
      }
docs: Return the {@link ApplicationDefinition} for the application in the given tenant.
  Null is returned if no application is found with the given name and tenant.
  
  @return The {@link ApplicationDefinition} for the given application or null if no
  no such application is defined in the default tenant.