net.sf.sail.core.bundle
Interface Bundle

All Known Implementing Classes:
CurnitUrlProviderImpl, LauncherServiceImpl, PreviewSailDataStoreService, SessionContextServiceImpl, SessionLoadMonitor, SessionManagerImpl, UserServiceImpl

public interface Bundle

A Bundle provides services and has a lifecyle: - register the services that it provides - initialize the services One bundle might have multiple services When initialize() is called before registerServices, the behavior is undefined

Author:
scytacki AUDIT07

Method Summary
 void initializeBundle(ServiceContext serviceContext)
          Initializes the services that this bundle provides
 void registerServices(ServiceContext serviceContext)
          Allows bundle to provide all the services that it has This method has to be called before initializeBundle
 

Method Detail

registerServices

void registerServices(ServiceContext serviceContext)
Allows bundle to provide all the services that it has This method has to be called before initializeBundle

Parameters:
serviceContext -

initializeBundle

void initializeBundle(ServiceContext serviceContext)
Initializes the services that this bundle provides

Parameters:
serviceContext -


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