com.ibm.are.service
Interface SingletonService

All Superinterfaces:
com.ibm.are.core.Element, Service
All Known Subinterfaces:
AutoStartSingletonService
All Known Implementing Classes:
BaseSingletonService, LoggingService

public interface SingletonService
extends Service

The SingletonService interface represents a service that should only be instantiated once by the runtime (i.e. there will be a singleton object created for this service). The singleton is created upon the first request for that service via the findService() method of the ElementManager class. Subsequent requests for the service, via the same mechanism, will result in a reference to the existing singleton being returned. This interface should be used when it is desired to only ever have one instance of a service class instantiated.

Version:
1.0
Author:
IBM
See Also:
ElementManager.findService(String)

Field Summary
static java.lang.String COPYRIGHT
          Copyright for class bytecode
 
Method Summary
 
Methods inherited from interface com.ibm.are.service.Service
start, stop
 
Methods inherited from interface com.ibm.are.core.Element
getCommonName, getDescription, getElementData, getVersion, setElementData
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
Copyright for class bytecode

See Also:
Constant Field Values