org.sapia.soto.examples
Class MasterService

java.lang.Object
  extended by org.sapia.soto.examples.MasterService
All Implemented Interfaces:
Service

public class MasterService
extends java.lang.Object
implements Service

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software . All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Constructor Summary
MasterService()
          Constructor for MasterService.
 
Method Summary
 void dispose()
          Shuts down this service.
 void doSomething()
           
 java.lang.String getMessage()
           
 void init()
          Performs initialization actions.
 void setMessage(java.lang.String msg)
           
 void start()
          Starts this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterService

public MasterService()
Constructor for MasterService.

Method Detail

init

public void init()
          throws java.lang.Exception
Description copied from interface: Service
Performs initialization actions.

Specified by:
init in interface Service
Throws:
java.lang.Exception - if a problem occurs while initializing.
See Also:
Service.init()

start

public void start()
           throws java.lang.Exception
Description copied from interface: Service
Starts this instance.

Specified by:
start in interface Service
Throws:
java.lang.Exception - if a problem occurs while starting.
See Also:
Service.start()

dispose

public void dispose()
Description copied from interface: Service
Shuts down this service.

Specified by:
dispose in interface Service
See Also:
Service.dispose()

setMessage

public void setMessage(java.lang.String msg)

getMessage

public java.lang.String getMessage()

doSomething

public void doSomething()


Copyright © 2010 Sapia OSS. All Rights Reserved.