org.apache.ldap.server.jndi
Class CoreContextFactory

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

public class CoreContextFactory
extends AbstractContextFactory
implements javax.naming.spi.InitialContextFactory

A simplistic implementation of AbstractContextFactory. This class simply extends AbstractContextFactory and leaves all abstract event listener methods as empty.

Version:
$Rev: 264732 $
Author:
Apache Directory Project

Constructor Summary
CoreContextFactory()
          Creates a new instance.
 
Method Summary
 void afterShutdown(ContextFactoryService service)
          Does nothing by default.
 void afterStartup(ContextFactoryService service)
          Does nothing by default.
 void afterSync(ContextFactoryService service)
          Does nothing by default.
 void beforeShutdown(ContextFactoryService service)
          Does nothing by default.
 void beforeStartup(ContextFactoryService service)
          Does nothing by default.
 void beforeSync(ContextFactoryService service)
          Does nothing by default.
 
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

CoreContextFactory

public CoreContextFactory()
Creates a new instance.

Method Detail

beforeStartup

public void beforeStartup(ContextFactoryService service)
                   throws javax.naming.NamingException
Does nothing by default.

Specified by:
beforeStartup in interface ContextFactoryServiceListener
Throws:
javax.naming.NamingException

afterStartup

public void afterStartup(ContextFactoryService service)
                  throws javax.naming.NamingException
Does nothing by default.

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

beforeShutdown

public void beforeShutdown(ContextFactoryService service)
                    throws javax.naming.NamingException
Does nothing by default.

Specified by:
beforeShutdown in interface ContextFactoryServiceListener
Throws:
javax.naming.NamingException

afterShutdown

public void afterShutdown(ContextFactoryService service)
                   throws javax.naming.NamingException
Does nothing by default.

Specified by:
afterShutdown in interface ContextFactoryServiceListener
Throws:
javax.naming.NamingException

beforeSync

public void beforeSync(ContextFactoryService service)
                throws javax.naming.NamingException
Does nothing by default.

Specified by:
beforeSync in interface ContextFactoryServiceListener
Throws:
javax.naming.NamingException

afterSync

public void afterSync(ContextFactoryService service)
               throws javax.naming.NamingException
Does nothing by default.

Specified by:
afterSync in interface ContextFactoryServiceListener
Throws:
javax.naming.NamingException


Copyright © 2002-2005 . All Rights Reserved.