org.apache.directory.server.core.jndi
Class CoreContextFactory

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

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: 434579 $
Author:
Apache Directory Project

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

Constructor Detail

CoreContextFactory

public CoreContextFactory()
Creates a new instance.

Method Detail

beforeStartup

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

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

afterStartup

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

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

beforeShutdown

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

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

afterShutdown

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

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

beforeSync

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

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

afterSync

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

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


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