directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Directory Server v1.5 > ApacheDS v1.5 Developer's Guide
Date Tue, 25 May 2010 15:28:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=DIRxSRVx11&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="http://cwiki.apache.org/confluence/display/DIRxSRVx11/ApacheDS+v1.5+Developer%27s+Guide">ApacheDS
v1.5 Developer&#39;s Guide</a></h2>
    <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~elecharny">Emmanuel
L├ęcharny</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >* [ApacheDS Bootstrapping] <br>*
[ApacheDS Initialization] <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">*
[ADS Performance] <br></td></tr>
            <tr><td class="diff-unchanged" >* [Apache DS SchemaManager] <br>*
[Interceptors|1.5 Interceptors] mechanism and operations <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <div class='panelMacro'><table class='noteMacro'><colgroup><col
width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Work
in progress</b><br />This site is in the process of being reviewed and updated.</td></tr></table></div>
<p>This page contains all information related to <b>ADS 1.5</b> development.</p>

<h2><a name="ApacheDSv1.5Developer%27sGuide-GeneralInformation"></a>General
Information</h2>

<p><b><ins>Getting the source, Building the trunks</ins></b><br/>
To get the source, build the <b>trunks</b> and get along with Maven, follow the
instruction given in this page: <a href="/confluence/display/DIRxSRVx11/0.2.+Building+trunks"
title="0.2. Building trunks">0.2. Building trunks</a></p>

<p><b><ins>Coding standards :</ins></b></p>

<p>The applicable coding standards for ADS 1.5 are described in <a href="http://cwiki.apache.org/DIRxDEV/coding-standards.html"
class="external-link" rel="nofollow">Coding Standards</a></p>

<p>There are some more rules, as we are using <b>Java 5</b> now :</p>
<ul>
	<li>Use generics as much as you can. Generic are a good way to avoid casting, and it
enforce the usage of the correct type.</li>
	<li>If you can avoid <b>Iterators</b>, do so. There is this cool construction
with a <b>for( Type t:&lt;collection instance&gt; )</b> : use it &#33;</li>
	<li>Use <b>assert</b>. It's usefull, especially instead of a bunch of <b>if
(&lt;test is wrong&gt;) then throw Exception</b> when controlling incoming parameters</li>
	<li>Use the new <b>Enum</b> type &#33;</li>
</ul>


<h2><a name="ApacheDSv1.5Developer%27sGuide-ProjectInternals"></a>Project
Internals</h2>

<p>The following points describe the differents sub-elements of the server, from the
developper point of view :</p>
<ul>
	<li><a href="/confluence/display/DIRxSRVx11/ApacheDS+Bootstrapping" title="ApacheDS
Bootstrapping">ApacheDS Bootstrapping</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/ApacheDS+Initialization" title="ApacheDS
Initialization">ApacheDS Initialization</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Apache+DS+SchemaManager" title="Apache
DS SchemaManager">Apache DS SchemaManager</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/1.5+Interceptors" title="1.5 Interceptors">Interceptors</a>
mechanism and operations</li>
	<li>Information about <a href="/confluence/display/DIRxSRVx11/Mitosis" title="Mitosis">Mitosis</a>,
the ADS replication system.</li>
	<li><a href="/confluence/display/DIRxSRVx11/Referral+Handling+Changes" title="Referral
Handling Changes">Referral Handling Changes</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Schema+Subsystem+Redesign" title="Schema
Subsystem Redesign">Schema Subsystem Redesign</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/ACIItem+Extensions" title="ACIItem Extensions">ACIItem
Extensions</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Administrative+Model+Extensions" title="Administrative
Model Extensions">Administrative Model Extensions</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Account+and+Password+Policy+Management"
title="Account and Password Policy Management">Account and Password Policy Management</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Proposed+RFCs" title="Proposed RFCs">Proposed
RFCs</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Quartz+Schedular+Integration" title="Quartz
Schedular Integration">Quartz Schedular Integration</a></li>
	<li><a href="/confluence/pages/createpage.action?spaceKey=DIRxSRVx11&amp;title=Refactoring+the+Code+Using+Java5+Constructs&amp;linkCreation=true&amp;fromPageId=28739"
class="createlink">Refactoring the Code Using Java5 Constructs</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/JNDI+Bridge+and+Interceptor+Chain+Refactoring"
title="JNDI Bridge and Interceptor Chain Refactoring">JNDI Bridge and Interceptor Chain
Refactoring</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Families+of+Entries" title="Families
of Entries">Families of Entries</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Logging+Subsystem" title="Logging Subsystem">Logging
Subsystem</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Configuration+in+DIT+%28CiDIT%29" title="Configuration
in DIT (CiDIT)">Configuration in DIT &#40;CiDIT&#41;</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Versioning+and+Snapshots" title="Versioning
and Snapshots">Versioning and Snapshots</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Delegation+of+Authentication" title="Delegation
of Authentication">Delegation of Authentication</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Core+Integration+Testing+Framework"
title="Core Integration Testing Framework">Core Integration Testing Framework</a></li>
	<li><a href="/confluence/pages/createpage.action?spaceKey=DIRxSRVx11&amp;title=Server+Integration+Testing+Framework&amp;linkCreation=true&amp;fromPageId=28739"
class="createlink">Server Integration Testing Framework</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Xdbm+Partition+Design" title="Xdbm Partition
Design">Xdbm Partition Design</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/SASL+NTLM+Support" title="SASL NTLM
Support">SASL NTLM Support</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Supported+LDAP+Controls%2C+Extended+Operations+and+Features"
title="Supported LDAP Controls, Extended Operations and Features">Supported LDAP Controls,
Extended Operations and Features</a></li>
</ul>


<h2><a name="ApacheDSv1.5Developer%27sGuide-Cookbooks"></a>Cookbooks</h2>

<ul>
	<li><a href="/confluence/display/DIRxSRVx11/Cookbook+Documentation+Template" title="Cookbook
Documentation Template">Template</a></li>
	<li><a href="/confluence/display/DIRxSRVx11/Cookbook+Documentation+Example" title="Cookbook
Documentation Example">Example</a>.</li>
</ul>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="http://cwiki.apache.org/confluence/display/DIRxSRVx11/ApacheDS+v1.5+Developer%27s+Guide">View
Online</a>
        |
        <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=28739&revisedVersion=54&originalVersion=53">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message