com.ca.jcs.cfg
Class CustomServerContextFactory
java.lang.Object
org.apache.directory.server.core.jndi.AbstractContextFactory
org.apache.directory.server.core.jndi.CoreContextFactory
org.apache.directory.server.jndi.ServerContextFactory
com.ca.jcs.cfg.CustomServerContextFactory
- All Implemented Interfaces:
- InitialContextFactory, DirectoryServiceListener, org.springframework.context.ApplicationContextAware
public class CustomServerContextFactory
- extends org.apache.directory.server.jndi.ServerContextFactory
- implements org.springframework.context.ApplicationContextAware
Server context factory that overrides the ApacheDS factory to provide Spring shutdown handling.
- Author:
- fittr01
| Fields inherited from class org.apache.directory.server.jndi.ServerContextFactory |
tcpAcceptor, threadGroup, threadModel, threadPoolExecutor, udpAcceptor |
| Methods inherited from class org.apache.directory.server.jndi.ServerContextFactory |
afterStartup, beforeStartup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomServerContextFactory
public CustomServerContextFactory()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
afterShutdown
public void afterShutdown(DirectoryService service)
- Specified by:
afterShutdown in interface DirectoryServiceListener- Overrides:
afterShutdown in class org.apache.directory.server.jndi.ServerContextFactory
Created 2011-07-14 13:27 EST