You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by tr...@apache.org on 2005/03/18 05:11:00 UTC
svn commit: r158020 -
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/Interceptor.java
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/InterceptorChain.java
Author: trustin
Date: Thu Mar 17 20:10:59 2005
New Revision: 158020
URL: http://svn.apache.org/viewcvs?view=rev&rev=158020
Log:
Fixed indentation Eclipse screwed up.
Modified:
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/Interceptor.java
directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/InterceptorChain.java
Modified: directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/Interceptor.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/Interceptor.java?view=diff&r1=158019&r2=158020
==============================================================================
--- directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/Interceptor.java (original)
+++ directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/Interceptor.java Thu Mar 17 20:10:59 2005
@@ -31,22 +31,22 @@
*/
public interface Interceptor
{
- /**
- * Intializes this interceptor. This is invoked by directory service
- * provider when this intercepter is loaded into invocation chain.
- *
- * @param config the configuration properties for this interceptor
- * @throws NamingException if failed to initialize this interceptor
- */
- void init( Properties config ) throws NamingException;
+ /**
+ * Intializes this interceptor. This is invoked by directory service
+ * provider when this intercepter is loaded into invocation chain.
+ *
+ * @param config the configuration properties for this interceptor
+ * @throws NamingException if failed to initialize this interceptor
+ */
+ void init( Properties config ) throws NamingException;
- /**
- * Deinitialized this interceptor. This is invoked by directory service
- * provider when this intercepter is unloaded from invocation chain.
- */
- void destroy();
+ /**
+ * Deinitialized this interceptor. This is invoked by directory service
+ * provider when this intercepter is unloaded from invocation chain.
+ */
+ void destroy();
- /**
+ /**
* Process a particular invocation. You can pass control to
* <code>nextInterceptor</code> by invoking {@link #invoke(Interceptor, Invocation)}.
*
@@ -55,5 +55,5 @@
* @throws NamingException on failures while handling the invokation
*/
void invoke( Interceptor nextInterceptor, Invocation invocation )
- throws NamingException;
+ throws NamingException;
}
Modified: directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/InterceptorChain.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/InterceptorChain.java?view=diff&r1=158019&r2=158020
==============================================================================
--- directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/InterceptorChain.java (original)
+++ directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/InterceptorChain.java Thu Mar 17 20:10:59 2005
@@ -12,29 +12,23 @@
*/
public class InterceptorChain
{
-
- public Interceptor getInterceptor( String name )
- {
-
- }
+ public Interceptor getInterceptor( String name )
+ {
+ }
- public void addFirst( String name, Interceptor interceptor )
- {
-
- }
-
- public void addLast( String name, Interceptor interceptor )
- {
-
- }
-
- public void addBefore( Interceptor other, String name, Interceptor interceptor )
- {
-
- }
-
- public void addAfter( Interceptor other, String name, Interceptor interceptor )
- {
-
- }
+ public void addFirst( String name, Interceptor interceptor )
+ {
+ }
+
+ public void addLast( String name, Interceptor interceptor )
+ {
+ }
+
+ public void addBefore( Interceptor other, String name, Interceptor interceptor )
+ {
+ }
+
+ public void addAfter( Interceptor other, String name, Interceptor interceptor )
+ {
+ }
}