livespace.osgi.service
Class LivespaceService

java.lang.Object
  extended by livespace.osgi.service.LivespaceService
All Implemented Interfaces:
org.tanukisoftware.wrapper.WrapperListener

public class LivespaceService
extends Object
implements org.tanukisoftware.wrapper.WrapperListener

Java Service Wrapper main class that embeds the Livespace client as a system service. Essentially a thin wrapper around Main.

Author:
Matthew Phillips

Constructor Summary
LivespaceService()
           
 
Method Summary
 void controlEvent(int event)
           
protected static String currentUser()
           
protected static void error(String message)
           
protected static void info(String message)
           
static void main(String[] args)
           
 Integer start(String[] args)
           
 int stop(int suggestedExitCode)
           
protected static void updateLoggedInUser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LivespaceService

public LivespaceService()
Method Detail

main

public static void main(String[] args)

start

public Integer start(String[] args)
Specified by:
start in interface org.tanukisoftware.wrapper.WrapperListener

stop

public int stop(int suggestedExitCode)
Specified by:
stop in interface org.tanukisoftware.wrapper.WrapperListener

controlEvent

public void controlEvent(int event)
Specified by:
controlEvent in interface org.tanukisoftware.wrapper.WrapperListener

currentUser

protected static String currentUser()

updateLoggedInUser

protected static void updateLoggedInUser()

info

protected static void info(String message)

error

protected static void error(String message)


Copyright © 2008 Commonwealth of Australia