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

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

public class LauncherServiceImpl
extends java.lang.Object
implements LauncherService, Bundle

Author:
scytacki AUDIT07-

Constructor Summary
LauncherServiceImpl()
          Creates a sessionUuuid object.
 
Method Summary
protected  ICurnit getCurnit()
          Find the curnit if it hasn't been found.
 Offering getOffering()
          Creating an offering and returning it.
 java.util.Properties getProperties()
          Collection of users that are currently active
 SessionUuid getSessionUuid()
          Gets the sessionUuid
 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
 void setOfferingDescription(java.lang.String description)
           
 void setOfferingId(OfferingUuid id)
           
 void setProperties(java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LauncherServiceImpl

public LauncherServiceImpl()
Creates a sessionUuuid object.

Method Detail

getCurnit

protected ICurnit getCurnit()
Find the curnit if it hasn't been found.

Returns:

getOffering

public Offering getOffering()
Creating an offering and returning it. This download the curnit: getCurnit

Specified by:
getOffering in interface LauncherService
Returns:
the Offering

getSessionUuid

public SessionUuid getSessionUuid()
Gets the sessionUuid

Specified by:
getSessionUuid in interface LauncherService
Returns:
sessionId

setOfferingDescription

public void setOfferingDescription(java.lang.String description)

setOfferingId

public void setOfferingId(OfferingUuid id)

setProperties

public void setProperties(java.util.Properties props)

getProperties

public java.util.Properties getProperties()
Description copied from interface: LauncherService
Collection of users that are currently active

Specified by:
getProperties in interface LauncherService
Returns:

initializeBundle

public void initializeBundle(ServiceContext serviceContext)
Description copied from interface: Bundle
Initializes the services that this bundle provides

Specified by:
initializeBundle in interface Bundle

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:
Bundle.registerServices(net.sf.sail.core.service.ServiceContext)


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