Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98F9B10239 for ; Tue, 14 Jan 2014 10:48:08 +0000 (UTC) Received: (qmail 81775 invoked by uid 500); 14 Jan 2014 09:46:22 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 81436 invoked by uid 500); 14 Jan 2014 09:44:57 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 81253 invoked by uid 99); 14 Jan 2014 09:44:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 09:44:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jotpe.osm@gmail.com designates 209.85.128.42 as permitted sender) Received: from [209.85.128.42] (HELO mail-qe0-f42.google.com) (209.85.128.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 09:44:09 +0000 Received: by mail-qe0-f42.google.com with SMTP id b4so8549917qen.1 for ; Tue, 14 Jan 2014 01:43:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=v0VSQaJzUEuR/XSj2HrwN+PpewBlTFZs2oL0YJYCWuw=; b=xDlWH8AON+s2OxH1L8l0rVGbwoqFt55guVK240cZUdILGmfbciW7WNyCa5xVdkMrcE GOUvOdsoKVs+8ZnZqLWP4U5rN/UdLCsubhEq1/kyxOTK5L1IjOLS2ZJSO6sV/xzO2f/+ XjEoJcr6KUDAyV/WFUbc2/jUi5azirFW9PoOasZ6cnZYWJZhaGfitMP5hnFURNsuEpID TrOc44lZiVZrSBA2DtrPeDx7byDCzdQGzHQOD8mgXhxSxrEsFa7pt2sEnmMc5jttaCM+ y0+h3c3wEo8C3JpK0lCG/nFfseMVNjOQytkAaeU7niJfii5sdEy8aS0gnoXj4eWlKwSw L4Sw== MIME-Version: 1.0 X-Received: by 10.49.98.35 with SMTP id ef3mr1055899qeb.30.1389692628763; Tue, 14 Jan 2014 01:43:48 -0800 (PST) Received: by 10.140.42.6 with HTTP; Tue, 14 Jan 2014 01:43:48 -0800 (PST) Date: Tue, 14 Jan 2014 10:43:48 +0100 Message-ID: Subject: child contexts in a webapp with cayenne 3.2 From: jotpe To: "user@cayenne.apache.org" Content-Type: multipart/alternative; boundary=047d7bea3cb67c0bb004efeb0705 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bea3cb67c0bb004efeb0705 Content-Type: text/plain; charset=ISO-8859-1 Hello, how can I create a child context in 3.2? class ObjectContext in 3.0 the method createChildContext is deprecated and CayenneRuntime.getContext(DataChannel) should be used. How can I receive the CayenneRuntime object in my webapplication, where no ServerRuntime instance is available directly? Regards Johannes --047d7bea3cb67c0bb004efeb0705--