|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Service
The Service
interface represents the basic operations and features that must be implemented
for a class to be considered a service by the Application Runtime Expert. Any class that implements the
Service
interface can be automatically detected and instantiated by the Application Runtime Expert.
Any service can receive input arguments via the services.xml configuration file. This support is
built into the runtime and can be used without writing any additional code.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright for class bytecode |
Method Summary | |
---|---|
void |
start(java.util.List startArgs)
Starts the service. |
void |
stop(java.util.List stopArgs)
Stops the service. |
Methods inherited from interface com.ibm.are.core.Element |
---|
getCommonName, getDescription, getElementData, getVersion, setElementData |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
void start(java.util.List startArgs)
startArgs
- Start arguments. Currently the runtime does not pass
any arguments upon starting a service, so this list will
always be empty.void stop(java.util.List stopArgs)
stopArgs
- Stop arguments. Currently the runtime does not pass
any arguments upon stopping a service, so this list will
always be empty.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |