livespace.osgi.service
Class LivespaceService
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LivespaceService
public LivespaceService()
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