Author: akarasulu
Date: Wed Oct 6 14:53:02 2004
New Revision: 53914
Modified:
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/RootNexus.java
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/SystemPartition.java
Log:
Making RootNexus specifically take the SystemPartition as its constructor
argument.
Modified:
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/RootNexus.java
==============================================================================
---
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/RootNexus.java
(original)
+++
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/RootNexus.java
Wed Oct 6 14:53:02 2004
@@ -47,7 +47,7 @@
private static RootNexus s_singleton = null;
/** the system backend */
- private ContextPartition system;
+ private SystemPartition system;
/** the backends keyed by normalized suffix strings */
private HashMap backends = new HashMap();
@@ -56,7 +56,7 @@
* Default constructor that checks to make sure that there is only one
* instance of this class within the entire JVM.
*/
- public RootNexus( ContextPartition system )
+ public RootNexus( SystemPartition system )
{
if ( null != s_singleton )
{
Modified:
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/SystemPartition.java
==============================================================================
---
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/SystemPartition.java
(original)
+++
incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/SystemPartition.java
Wed Oct 6 14:53:02 2004
@@ -38,7 +38,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Apache Directory Project</a>
* @version $Rev$
*/
-public class SystemPartition extends AbstractContextPartition
+public final class SystemPartition extends AbstractContextPartition
{
/**
* System backend suffix constant. Should be kept down to a single Dn
name
@@ -72,7 +72,7 @@
* not operate correctly.
*/
public SystemPartition( Database db, SearchEngine searchEngine,
- AttributeType[] indexAttributes )
+ AttributeType[] indexAttributes )
throws NamingException
{
super( db, searchEngine, indexAttributes );