You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2012/04/09 23:15:08 UTC
svn commit: r1311452 -
/archiva/redback/redback-components/trunk/spring-apacheds/src/main/java/org/apache/archiva/redback/components/apacheds/ApacheDs.java
Author: olamy
Date: Mon Apr 9 21:15:08 2012
New Revision: 1311452
URL: http://svn.apache.org/viewvc?rev=1311452&view=rev
Log:
no more need of this ROLE field
Modified:
archiva/redback/redback-components/trunk/spring-apacheds/src/main/java/org/apache/archiva/redback/components/apacheds/ApacheDs.java
Modified: archiva/redback/redback-components/trunk/spring-apacheds/src/main/java/org/apache/archiva/redback/components/apacheds/ApacheDs.java
URL: http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-apacheds/src/main/java/org/apache/archiva/redback/components/apacheds/ApacheDs.java?rev=1311452&r1=1311451&r2=1311452&view=diff
==============================================================================
--- archiva/redback/redback-components/trunk/spring-apacheds/src/main/java/org/apache/archiva/redback/components/apacheds/ApacheDs.java (original)
+++ archiva/redback/redback-components/trunk/spring-apacheds/src/main/java/org/apache/archiva/redback/components/apacheds/ApacheDs.java Mon Apr 9 21:15:08 2012
@@ -20,8 +20,8 @@ package org.apache.archiva.redback.compo
*/
import javax.naming.NamingException;
-import javax.naming.directory.InitialDirContext;
import javax.naming.directory.Attributes;
+import javax.naming.directory.InitialDirContext;
import java.io.File;
import java.util.Set;
@@ -31,7 +31,6 @@ import java.util.Set;
*/
public interface ApacheDs
{
- String ROLE = ApacheDs.class.getName();
// ----------------------------------------------------------------------
// Configuration
@@ -40,9 +39,9 @@ public interface ApacheDs
void setBasedir( File basedir );
void setPort( int port );
-
+
int getPort();
-
+
void setEnableNetworking( boolean enableNetworking );
void addPartition( String name, String root, Set indexedAttributes, Attributes partitionAttributes )
@@ -54,7 +53,7 @@ public interface ApacheDs
/**
* Creates a partition usable for testing and other light usage.
*
- * @param name The name of the partition. Will be used as the directory name when persisted.
+ * @param name The name of the partition. Will be used as the directory name when persisted.
* @param domainComponents E.g. "plexus", "codehaus", "org"
* @throws NamingException
*/