org.apache.geronimo.directory
Class ServerContextFactory

java.lang.Object
  extended byorg.apache.directory.server.core.jndi.AbstractContextFactory
      extended byorg.apache.directory.server.core.jndi.CoreContextFactory
          extended byorg.apache.geronimo.directory.ServerContextFactory
All Implemented Interfaces:
org.apache.directory.server.core.DirectoryServiceListener, InitialContextFactory

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: 442813 $
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)

afterShutdown

public void afterShutdown(org.apache.directory.server.core.DirectoryService service)

afterStartup

public void afterStartup(org.apache.directory.server.core.DirectoryService service)
                  throws NamingException
Throws:
NamingException


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