net.sf.sail.core.service.impl
Class SessionLoadMonitor

java.lang.Object
  extended by net.sf.sail.core.service.impl.SessionLoadMonitor
All Implemented Interfaces:
Bundle, SessionLifecycleListener

public class SessionLoadMonitor
extends java.lang.Object
implements Bundle, SessionLifecycleListener

It does not register any service, but consumes service

Author:
scytacki AUDIT07-

Constructor Summary
SessionLoadMonitor()
           
 
Method Summary
 void initializeBundle(ServiceContext serviceContext)
          This actually show the progress bar.
 void registerServices(ServiceContext serviceContext)
          Allows bundle to provide all the services that it has This method has to be called before initializeBundle
 void sessionContextCreated(SessionManager manager, SessionContext context)
           
 void sessionContextIntiated(SessionManager manager, SessionContext context)
           
 void sessionContextStarted(SessionManager manager, SessionContext context)
           
 void sessionContextStopped(SessionManager manager, SessionContext context)
           
 void sessionStart(SessionManager manager)
          Creates progress monitor and shows it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionLoadMonitor

public SessionLoadMonitor()
Method Detail

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
See Also:
net.sf.sail.core.bundle.Bundle#registerServices(java.beans.beancontext.BeanContextServices)

initializeBundle

public void initializeBundle(ServiceContext serviceContext)
This actually show the progress bar. listens for session events. Intialized before curnit is downloaded.

Specified by:
initializeBundle in interface Bundle
Parameters:
serviceContext - - the service context

sessionStart

public void sessionStart(SessionManager manager)
Creates progress monitor and shows it.

Specified by:
sessionStart in interface SessionLifecycleListener
Parameters:
SessionManager - sessionManager - the session manager

sessionContextCreated

public void sessionContextCreated(SessionManager manager,
                                  SessionContext context)
Specified by:
sessionContextCreated in interface SessionLifecycleListener

sessionContextIntiated

public void sessionContextIntiated(SessionManager manager,
                                   SessionContext context)
Specified by:
sessionContextIntiated in interface SessionLifecycleListener

sessionContextStarted

public void sessionContextStarted(SessionManager manager,
                                  SessionContext context)
Specified by:
sessionContextStarted in interface SessionLifecycleListener

sessionContextStopped

public void sessionContextStopped(SessionManager manager,
                                  SessionContext context)
Specified by:
sessionContextStopped in interface SessionLifecycleListener


Copyright © 2004-2008 TELS Center. All Rights Reserved.