org.jasig.portal.jndi
Class JndiManagerImpl
java.lang.Object
org.springframework.jndi.JndiAccessor
org.jasig.portal.jndi.JndiManagerImpl
- All Implemented Interfaces:
- EventListener, IJndiManager, InitializingBean, ApplicationListener
public class JndiManagerImpl
- extends JndiAccessor
- implements IJndiManager, ApplicationListener, InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiManagerImpl
public JndiManagerImpl()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
onApplicationEvent
public void onApplicationEvent(ApplicationEvent event)
- Specified by:
onApplicationEvent in interface ApplicationListener
initializeSessionContext
public void initializeSessionContext(HttpSession session,
String userId,
String layoutId,
Document userLayout)
- Description copied from interface:
IJndiManager
- Create and bind objects to the portal context for a new user's session
- Specified by:
initializeSessionContext in interface IJndiManager
- Parameters:
session - The new sessionuserId - The user ID the session is forlayoutId - The layout ID for the user and sessionuserLayout - The layout document for the user and session
destroySessionContext
public void destroySessionContext(HttpSession session)
- Description copied from interface:
IJndiManager
- Unbind objects related to the specific session.
- Specified by:
destroySessionContext in interface IJndiManager
initializePortalContext
protected void initializePortalContext()
throws NamingException
- Sets up the base sub contexts in the portal JNDI context.
- Throws:
NamingException
Copyright © 2010 Jasig. All Rights Reserved.