org.apache.geronimo.directory
Class ServerContextFactory

java.lang.Object
  extended by org.apache.ldap.server.jndi.AbstractContextFactory
      extended by org.apache.ldap.server.jndi.CoreContextFactory
          extended by org.apache.geronimo.directory.ServerContextFactory
All Implemented Interfaces:
InitialContextFactory, org.apache.ldap.server.jndi.ContextFactoryServiceListener

public class ServerContextFactory
extends org.apache.ldap.server.jndi.CoreContextFactory

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

See Also:
InitialContextFactory

Constructor Summary
ServerContextFactory()
           
 
Method Summary
 void afterShutdown(org.apache.ldap.server.jndi.ContextFactoryService service)
           
 void afterStartup(org.apache.ldap.server.jndi.ContextFactoryService service)
           
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(org.apache.ldap.server.jndi.ContextFactoryService service)
Specified by:
afterShutdown in interface org.apache.ldap.server.jndi.ContextFactoryServiceListener
Overrides:
afterShutdown in class org.apache.ldap.server.jndi.CoreContextFactory

afterStartup

public void afterStartup(org.apache.ldap.server.jndi.ContextFactoryService service)
                  throws NamingException
Specified by:
afterStartup in interface org.apache.ldap.server.jndi.ContextFactoryServiceListener
Overrides:
afterStartup in class org.apache.ldap.server.jndi.CoreContextFactory
Throws:
NamingException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.