org.sapia.soto.examples
Class SecondaryService

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

public class SecondaryService
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
SecondaryService()
          Constructor for SecondaryService.
 
Method Summary
 void dispose()
          Shuts down this service.
 void doSomethingElse()
           
 MasterService getSomeService()
           
 boolean hasMaster()
           
 void init()
          Performs initialization actions.
 void setSomeService(MasterService svc)
           
 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

SecondaryService

public SecondaryService()
Constructor for SecondaryService.

Method Detail

setSomeService

public void setSomeService(MasterService svc)

getSomeService

public MasterService getSomeService()

hasMaster

public boolean hasMaster()

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()

doSomethingElse

public void doSomethingElse()


Copyright © 2010 Sapia OSS. All Rights Reserved.