Return-Path: X-Original-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 300E2DF4F for ; Tue, 9 Oct 2012 19:10:03 +0000 (UTC) Received: (qmail 38880 invoked by uid 500); 9 Oct 2012 19:10:03 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 38862 invoked by uid 500); 9 Oct 2012 19:10:03 -0000 Mailing-List: contact isis-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-dev@incubator.apache.org Received: (qmail 38853 invoked by uid 99); 9 Oct 2012 19:10:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 19:10:03 +0000 Date: Tue, 9 Oct 2012 19:10:02 +0000 (UTC) From: "Dan Haywood (JIRA)" To: isis-dev@incubator.apache.org Message-ID: <268575572.16204.1349809803001.JavaMail.jiratomcat@arcas> In-Reply-To: <78193441.9406.1349718602878.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (ISIS-274) Simplify the bootstrapping of Isis so that there are fewer configuration properties to set in isis.properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ISIS-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Haywood resolved ISIS-274. ------------------------------ Resolution: Fixed > Simplify the bootstrapping of Isis so that there are fewer configuration properties to set in isis.properties > ------------------------------------------------------------------------------------------------------------- > > Key: ISIS-274 > URL: https://issues.apache.org/jira/browse/ISIS-274 > Project: Isis > Issue Type: Improvement > Affects Versions: 0.2.0-incubating > Reporter: Dan Haywood > Assignee: Dan Haywood > Fix For: 0.3.1-incubating > > > Currently there is a number of settings in isis.properties whose values is pretty much determined by the configured persistor/object store. Most notable examples included the class substitutor and the object factory, where cglib versions are configured for most persistors (for lazy loading), but is not configured for the JDO object store (that leverages the built-in lazy loading of DataNucleus). > This ticket is to remove some of these configuration settings, and instead arrange things such that selecting the persistor automatically configures these components. > In particular, that means removing: > 1. isis.reflector.class-substitutor > (with the default being org.apache.isis.runtimes.dflt.bytecode.dflt.classsubstitutor.CglibClassSubstitutor for most object stores, overridden by the JDO object store) > 2. isis.persistor.identifier-generator > (with the default already being overridden by all object stores) > 3. isis.persistor.object-factory > (with the default being > org.apache.isis.runtimes.dflt.bytecode.dflt.objectfactory.CglibObjectFactory for most object stores, overridden by the JDO object store) > 4. isis.persistor.services-injector > (with the default being ServicesInjectorDefault; there are no other implementations.) > 5. isis.persistor.adapter-factory > (with the default being PojoAdapterFactory; there are no other implementations.) > At the same time, persistor/object stores sometimes have a requirement to install their own FacetFactories and/or MetaModelValidators. So this ticket is also to provide a mechanism such that a persistor can "refine" the metamodel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira