|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEsfFoundationService
The EsfFoundationService has a set of methods to allow for the basic control and operation of an ESF Foundation Bundle. All ESF foundation bundles should implement the EsfFoundationService to provide a consistent means of controlling their operation. Copyright © 2009 Eurotech Inc. All rights reserved.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface. |
Method Summary | |
---|---|
boolean |
isRunning()
Check the operational status of any functional operation associated with the implementation. |
void |
restart()
Perform both the action of the stop and the start methods. |
void |
setPersistent()
Store the current configuration (through @IConfigurationManagerService or in the OS as appropriate). |
void |
start()
The start method will start any functional operation associated with the specific implementation. |
void |
stop()
The stop method will stop any functional operation started by the start method. |
Field Detail |
---|
static final java.lang.String SERVICE_NAME
Method Detail |
---|
void start() throws java.lang.Exception
java.lang.Exception
- start failed (could be missing a configuration).void stop() throws java.lang.Exception
java.lang.Exception
- stop failedvoid restart() throws java.lang.Exception
java.lang.Exception
- restart failed (could be missing a configuration)void setPersistent() throws java.lang.Exception
java.lang.Exception
- no current configuration to storeboolean isRunning()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |