From commits-return-31849-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Mon May 23 05:58:12 2011 Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5008C4D8C for ; Mon, 23 May 2011 05:58:12 +0000 (UTC) Received: (qmail 79703 invoked by uid 500); 23 May 2011 05:58:11 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 79652 invoked by uid 500); 23 May 2011 05:58:10 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 79629 invoked by uid 99); 23 May 2011 05:58:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 05:58:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 05:58:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1D2EA2388A66; Mon, 23 May 2011 05:57:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1126323 - /directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java Date: Mon, 23 May 2011 05:57:47 -0000 To: commits@directory.apache.org From: kayyagari@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110523055747.1D2EA2388A66@eris.apache.org> Author: kayyagari Date: Mon May 23 05:57:46 2011 New Revision: 1126323 URL: http://svn.apache.org/viewvc?rev=1126323&view=rev Log: allow creating DS from the annotation directly Modified: directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java Modified: directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java?rev=1126323&r1=1126322&r2=1126323&view=diff ============================================================================== --- directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java (original) +++ directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java Mon May 23 05:57:46 2011 @@ -66,7 +66,7 @@ public class DSAnnotationProcessor /** * Create the DirectoryService */ - private static DirectoryService createDS( CreateDS dsBuilder ) + public static DirectoryService createDS( CreateDS dsBuilder ) throws Exception { LOG.debug( "Starting DS {}...", dsBuilder.name() );