Author: trustin
Date: Mon Mar 21 03:15:24 2005
New Revision: 158449
URL: http://svn.apache.org/viewcvs?view=rev&rev=158449
Log:
Added JavaDocs for all Interceptor implementatons.
Modified:
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java
Modified:
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
URL:
http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java?view=diff&r1=158448&r2=158449
==============================================================================
---
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
(original)
+++
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
Mon Mar 21 03:15:24 2005
@@ -50,10 +50,14 @@
/**
- * A service used for applying access controls to backing store operations.
+ * An [EMAIL PROTECTED] Interceptor} that controls access to [EMAIL PROTECTED]
BackingStore}
+ * operations.
*
- * @author <a href="mailto:[email protected]">Apache Directory
Project</a>
- * @version $Rev$
+ * @author The Apache Directory Project ([email protected])
+ * @author Alex Karasulu ([EMAIL PROTECTED])
+ * @author Trustin Lee ([EMAIL PROTECTED])
+ *
+ * @version $Rev$, $Date$
*/
public class Authorizer extends BaseInterceptor
{
Modified:
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
URL:
http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java?view=diff&r1=158448&r2=158449
==============================================================================
---
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
(original)
+++
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
Mon Mar 21 03:15:24 2005
@@ -52,11 +52,15 @@
/**
- * An interceptor based service which manages the creation and modification of
- * operational attributes as operations are performed.
+ * An [EMAIL PROTECTED] Interceptor} that adds or modifies the default
attributes of entries.
+ * There are four default attributes for now;<code>'creatorsName'</code>,
+ * <code>'createTimestamp'</code>, <code>'modifiersName'</code>, and
+ * <code>'modifyTimestamp'</code>.
*
- * @author <a href="mailto:[email protected]">Apache Directory
Project</a>
- * @version $Rev$
+ * @author The Apache Directory Project ([email protected])
+ * @author Alex Karasulu ([EMAIL PROTECTED])
+ * @author Trustin Lee ([EMAIL PROTECTED])
+ * @version $Rev$, $Date$
*/
public class DefaultAttributeTagger extends BaseInterceptor
{
Modified:
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
URL:
http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java?view=diff&r1=158448&r2=158449
==============================================================================
---
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
(original)
+++
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
Mon Mar 21 03:15:24 2005
@@ -60,10 +60,13 @@
/**
- * A schema management and enforcement interceptor service.
+ * An [EMAIL PROTECTED] Interceptor} that manages and enforces schemas.
+ * TODO Better interceptor description required.
*
- * @author <a href="mailto:[email protected]">Apache Directory
Project</a>
- * @version $Rev$
+ * @author The Apache Directory Project ([email protected])
+ * @author Alex Karasulu ([EMAIL PROTECTED])
+ * @author Trustin Lee ([EMAIL PROTECTED])
+ * @version $Rev$, $Date$
*/
public class SchemaManager extends BaseInterceptor
{
Modified:
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java
URL:
http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java?view=diff&r1=158448&r2=158449
==============================================================================
---
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java
(original)
+++
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java
Mon Mar 21 03:15:24 2005
@@ -46,14 +46,11 @@
/**
- * An interceptor based service used to detect, raise and handle eve exceptions
- * in one place. This interceptor has two modes of operation. The first mode
- * is as a before chain interceptor where it raises exceptions. An example
- * where this interceptor raises an exception is when an entry already exists
- * at a DN and is added once again to the same DN. The other mode is as an on
- * error chain interceptor. In this mode the service may wrap exceptions and
- * add extra information to an exception which is to be thrown back at the
- * caller.
+ * An [EMAIL PROTECTED] Interceptor} that detects any operations that breaks
+ * integrity of [EMAIL PROTECTED] BackingStore} and terminates the current
+ * invocation chain by throwing a [EMAIL PROTECTED] NamingException}.
+ * Those operations include when an entry already exists at a DN and is
+ * added once again to the same DN.
*
* @author <a href="mailto:[email protected]">Apache Directory
Project</a>
* @version $Rev$