org.apache.ldap.server.jndi
Class ServerContextFactory

java.lang.Object
  extended byorg.apache.ldap.server.jndi.AbstractContextFactory
      extended byorg.apache.ldap.server.jndi.CoreContextFactory
          extended byorg.apache.ldap.server.jndi.ServerContextFactory
All Implemented Interfaces:
ContextFactoryServiceListener, javax.naming.spi.InitialContextFactory

public class ServerContextFactory
extends CoreContextFactory

Adds additional bootstrapping for server socket listeners when firing up the server.

Version:
$Rev: 264732 $
Author:
Apache Directory Project
See Also:
InitialContextFactory

Constructor Summary
ServerContextFactory()
           
 
Method Summary
 void afterShutdown(ContextFactoryService service)
          Does nothing by default.
 void afterStartup(ContextFactoryService service)
          Does nothing by default.
protected  org.apache.mina.registry.ServiceRegistry getMinaRegistry()
           
 
Methods inherited from class org.apache.ldap.server.jndi.CoreContextFactory
afterSync, beforeShutdown, beforeStartup, beforeSync
 
Methods inherited from class org.apache.ldap.server.jndi.AbstractContextFactory
getInitialContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.naming.spi.InitialContextFactory
getInitialContext
 

Constructor Detail

ServerContextFactory

public ServerContextFactory()
Method Detail

getMinaRegistry

protected org.apache.mina.registry.ServiceRegistry getMinaRegistry()

afterShutdown

public void afterShutdown(ContextFactoryService service)
Description copied from class: CoreContextFactory
Does nothing by default.

Specified by:
afterShutdown in interface ContextFactoryServiceListener
Overrides:
afterShutdown in class CoreContextFactory

afterStartup

public void afterStartup(ContextFactoryService service)
                  throws javax.naming.NamingException
Description copied from class: CoreContextFactory
Does nothing by default.

Specified by:
afterStartup in interface ContextFactoryServiceListener
Overrides:
afterStartup in class CoreContextFactory
Throws:
javax.naming.NamingException