jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JCR-65) ChainedPersistenceManager
Date Tue, 26 Jul 2005 22:21:49 GMT
     [ http://issues.apache.org/jira/browse/JCR-65?page=all ]
Jukka Zitting closed JCR-65:

> ChainedPersistenceManager
> -------------------------
>          Key: JCR-65
>          URL: http://issues.apache.org/jira/browse/JCR-65
>      Project: Jackrabbit
>         Type: New Feature
>     Reporter: Edgar Poce
>     Assignee: Jukka Zitting
>     Priority: Minor
>  Attachments: 05-03-15-chained-persistence.zip, uml-class.gif
> Overview
> The package contains the classes that provide chaining of Persistence Managers support
through an implementation of the chain of responsibility pattern.
> The ChainedPersistenceManager class is the chain's external controller.
> The current implementation uses composition instead of inheritance. The concrete handlers
(PersistenceManager) are private members instead of subclasses.
> For reading commands no evaluation is performed, the ChainedPersistenceManager returns
the response of the first handler that finds the object.
> From jackrabbit-dev-return-3017-apmail-incubator-jackrabbit-dev-archive=www.apache.org@incubator.apache.org
Tue Jul 26 22:22:39 2005
Return-Path: <jackrabbit-dev-return-3017-apmail-incubator-jackrabbit-dev-archive=www.apache.org@incubator.apache.org>
Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org
Received: (qmail 73182 invoked from network); 26 Jul 2005 22:22:24 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (
  by minotaur.apache.org with SMTP; 26 Jul 2005 22:22:24 -0000
Received: (qmail 91158 invoked by uid 500); 26 Jul 2005 22:22:01 -0000
Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm
Precedence: bulk
List-Help: <mailto:jackrabbit-dev-help@incubator.apache.org>
List-Unsubscribe: <mailto:jackrabbit-dev-unsubscribe@incubator.apache.org>
List-Post: <mailto:jackrabbit-dev@incubator.apache.org>
List-Id: <jackrabbit-dev.incubator.apache.org>
Reply-To: jackrabbit-dev@incubator.apache.org
Delivered-To: mailing list jackrabbit-dev@inFor writing commands, the PersistenceManagerHandler
class delegates conditionally the persistence calls to the concrete implementation based on
a custom evaluation.
> Custom PersistenceManagerEvaluator implementations can be set through configuration.
> Custom listeners can be added to the ChainedPersistenceManager class. It allows to perform
custom operations on "after init" and "before close" events. 
> Warning
> This package should be used only in a couple of cases and none of them is the best practice.
>     * Sharing jcr data with others systems through a custom PersistenceManager
>     * Integrating a legacy system
> Reliability, integrity and performance of the PersistenceManager are *crucial* to the
overall stability & performance of the repository. if e.g. the data that a PersistenceManager
is based upon is allowed to change through external means the integrity of the repository
would be at risk (think of referential integrity/ node references e.g.).

This message is automatically generated by JIcubator.apache.org
Received: (qmail 91116 invoked by uid 99); 26 Jul 2005 22:22:00 -0000
X-ASF-Spam-Status: No, hits=0.0 required=10.0
X-Spam-Check-By: apache.org
Received: from [] (HELO ajax.apache.org) (
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2005 15:21:42 -0700
Received: from ajax.apache.org (ajax.apache.org [])
	by ajax.apache.org (Postfix) with ESMTP id 6EBBDEA
	for <jackrabbit-dev@incubator.apache.org>; Wed, 27 Jul 2005 00:21:39 +0200 (CEST)
Message-ID: <1169521914.1122416499452.JavaMail.jira@ajax.apache.org>
Date: Wed, 27 Jul 2005 00:21:39 +0200 (CEST)
From: "Jukka Zitting (JIRA)" <jira@apache.org>
To: jackrabbit-dev@incubator.apache.org
Subject: [jira] Closed: (JCR-132) BindableRepositoryFactory requires exact resource type
In-Reply-To: <1231587819.1118405506496.JavaMail.jira@ajax.apache.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

     [ http://issues.apache.org/jira/browse/JCR-132?page=all ]
Jukka Zitting closed JCR-132:

> BindableRepositoryFactory requires exact resource type
> ------------------------------------------------------
>          Key: JCR-132
>          URL: http://issues.apache.org/jira/browse/JCR-132
>      Project: Jackrabbit
>         Type: Wish
>   Components: config
>  Environment: JNDI
>     Reporter: Jukka Zitting
>     Assignee: Jukka Zitting
>     Priority: Trivial
>  Attachments: BindableRepositoryFactory.patch
> The org.apache.jackrabbit.jndi.BindableRepositoryFactory class requires the exact class
name org.apache.jackrabbit.jndi.BindableRepository to be specified for the JNDI resource that
the factory is responsible for. However the current deployment model 2 howto document suggest
that the more generic interface name javax.jcr.Repository be used instead. Currently this
suggested configuration results in a null JNDI resource .
> This issue should be fixed by either fixing the documentation (I can do this) or by relaxing
the code in BindableRepositoryFactory. I'll attach a patch that does the latter, please comment
on what you think is the best solution.
> This issue was detected during the mailing list thread
> http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/2303

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message