org.jasig.portal.jndi
Class DisposableMemoryContextFactory
java.lang.Object
org.jasig.portal.jndi.DisposableMemoryContextFactory
- All Implemented Interfaces:
- InitialContextFactory, DisposableBean
public class DisposableMemoryContextFactory
- extends Object
- implements InitialContextFactory, DisposableBean
Initial context factory that provides access to close and de-reference the MemoryContext.
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisposableMemoryContextFactory
public DisposableMemoryContextFactory()
getInitialContext
public Context getInitialContext(Hashtable<?,?> environment)
throws NamingException
- Specified by:
getInitialContext in interface InitialContextFactory
- Throws:
NamingException
destroy
public void destroy()
throws Exception
- Specified by:
destroy in interface DisposableBean
- Throws:
Exception
closeContext
public static void closeContext()
- Closes and de-references the
MemoryContext, if already closed this is a noop.
Copyright © 2010 Jasig. All Rights Reserved.