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, org.apache.directory.server.core.DirectoryServiceListener

public class ServerContextFactory
extends org.apache.directory.server.core.jndi.CoreContextFactory

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

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

Field Summary
protected static org.apache.mina.common.IoAcceptor tcpAcceptor
           
protected static org.apache.mina.common.ExecutorThreadModel threadModel
           
protected static edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor threadPoolExecutor
           
protected static org.apache.mina.common.IoAcceptor udpAcceptor
           
 
Constructor Summary
ServerContextFactory()
           
 
Method Summary
 void afterShutdown(org.apache.directory.server.core.DirectoryService service)
           
 void afterStartup(org.apache.directory.server.core.DirectoryService service)
           
 void beforeStartup(org.apache.directory.server.core.DirectoryService service)
           
 
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 org.apache.mina.common.IoAcceptor tcpAcceptor

udpAcceptor

protected static org.apache.mina.common.IoAcceptor udpAcceptor

threadPoolExecutor

protected static edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor threadPoolExecutor

threadModel

protected static org.apache.mina.common.ExecutorThreadModel threadModel
Constructor Detail

ServerContextFactory

public ServerContextFactory()
Method Detail

beforeStartup

public void beforeStartup(org.apache.directory.server.core.DirectoryService service)
Specified by:
beforeStartup in interface org.apache.directory.server.core.DirectoryServiceListener
Overrides:
beforeStartup in class org.apache.directory.server.core.jndi.CoreContextFactory

afterShutdown

public void afterShutdown(org.apache.directory.server.core.DirectoryService service)
Specified by:
afterShutdown in interface org.apache.directory.server.core.DirectoryServiceListener
Overrides:
afterShutdown in class org.apache.directory.server.core.jndi.CoreContextFactory

afterStartup

public void afterStartup(org.apache.directory.server.core.DirectoryService service)
                  throws javax.naming.NamingException
Specified by:
afterStartup in interface org.apache.directory.server.core.DirectoryServiceListener
Overrides:
afterStartup in class org.apache.directory.server.core.jndi.CoreContextFactory
Throws:
javax.naming.NamingException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.