Caught up changes in core.
git-svn-id: https://svn.apache.org/repos/asf/directory/apacheds/branches/db_refactor@193170 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java b/main/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
index 5a979dd..a72eb5b 100644
--- a/main/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
+++ b/main/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
@@ -62,7 +62,7 @@
// Members
// ------------------------------------------------------------------------
- protected void afterShutdown( ContextFactoryConfiguration ctx )
+ public void afterShutdown( ContextFactoryService service )
{
if ( minaRegistry != null )
{
@@ -80,11 +80,11 @@
}
}
- protected void afterStartup( ContextFactoryConfiguration ctx ) throws NamingException
+ public void afterStartup( ContextFactoryService service ) throws NamingException
{
ServerStartupConfiguration cfg =
- ( ServerStartupConfiguration ) ctx.getConfiguration();
- Hashtable env = ctx.getEnvironment();
+ ( ServerStartupConfiguration ) service.getConfiguration().getStartupConfiguration();
+ Hashtable env = service.getConfiguration().getEnvironment();
if ( cfg.isEnableNetworking() )
{