org.apache.directory.server.jndi
Class ServerContextFactory

java.lang.Object
  extended by org.apache.directory.server.core.jndi.AbstractContextFactory
      extended by org.apache.directory.server.core.jndi.CoreContextFactory
          extended by org.apache.directory.server.jndi.ServerContextFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory, DirectoryServiceListener

public class ServerContextFactory
extends CoreContextFactory

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

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

Field Summary
protected static IoAcceptor tcpAcceptor
           
protected static ExecutorThreadModel threadModel
           
protected static ThreadPoolExecutor threadPoolExecutor
           
protected static IoAcceptor udpAcceptor
           
 
Constructor Summary
ServerContextFactory()
           
 
Method Summary
 void afterShutdown(DirectoryService service)
          Does nothing by default.
 void afterStartup(DirectoryService service)
          Does nothing by default.
 void beforeStartup(DirectoryService service)
          Does nothing by default.
 
Methods inherited from class org.apache.directory.server.core.jndi.CoreContextFactory
afterSync, beforeShutdown, beforeSync
 
Methods inherited from class org.apache.directory.server.core.jndi.AbstractContextFactory
getAuthentication, getCredential, getInitialContext, getPrincipal, getProviderUrl
 
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
 

Field Detail

tcpAcceptor

protected static IoAcceptor tcpAcceptor

udpAcceptor

protected static IoAcceptor udpAcceptor

threadPoolExecutor

protected static ThreadPoolExecutor threadPoolExecutor

threadModel

protected static ExecutorThreadModel threadModel
Constructor Detail

ServerContextFactory

public ServerContextFactory()
Method Detail

beforeStartup

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

Specified by:
beforeStartup in interface DirectoryServiceListener
Overrides:
beforeStartup in class CoreContextFactory

afterShutdown

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

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

afterStartup

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

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