net.sf.sail.core.service.impl
Class SessionManagerImpl
java.lang.Object
net.sf.sail.core.service.impl.SessionManagerImpl
- All Implemented Interfaces:
- Bundle, SessionManager
public class SessionManagerImpl
- extends java.lang.Object
- implements SessionManager, Bundle
- Author:
- scytacki
AUDIT07-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lifecycleListeners
protected java.util.ArrayList<SessionLifecycleListener> lifecycleListeners
SessionManagerImpl
public SessionManagerImpl()
notifySessionStart
protected void notifySessionStart()
- whos listening to start of the session
notifySessionContextCreated
protected void notifySessionContextCreated(SessionContext context)
notifySessionContextInitiated
protected void notifySessionContextInitiated(SessionContext context)
notifySessionContextStarted
protected void notifySessionContextStarted(SessionContext context)
start
public void start(ServiceContext serviceContext)
- The startup for the sail session. initization of sail session.
- Specified by:
start
in interface SessionManager
- Parameters:
ServiceContext
- serviceContext - the service context
registerServices
public void registerServices(ServiceContext serviceContext)
- Description copied from interface:
Bundle
- Allows bundle to provide all the services that it has
This method has to be called before initializeBundle
- Specified by:
registerServices
in interface Bundle
- Parameters:
- - See Also:
net.sf.sail.core.bundle.Bundle#registerServices(java.beans.beancontext.BeanContextServices)
initializeBundle
public void initializeBundle(ServiceContext serviceContext)
- Description copied from interface:
Bundle
- Initializes the services that this bundle provides
- Specified by:
initializeBundle
in interface Bundle
addSessionLifecycleListener
public void addSessionLifecycleListener(SessionLifecycleListener listener)
- Specified by:
addSessionLifecycleListener
in interface SessionManager
removeSessionLifecycleListener
public void removeSessionLifecycleListener(SessionLifecycleListener listener)
- Specified by:
removeSessionLifecycleListener
in interface SessionManager
Copyright © 2004-2008 TELS Center. All Rights Reserved.