public interface RifidiApp extends java.lang.Comparable<RifidiApp>, RifidiAppCommonProperties
LAZY_START
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroup()
A group is a set of applications within some logical domain.
|
java.lang.String |
getName()
Each application has a name that is unique within it's group
|
AppState |
getState()
Each application has a state that is either running or stopped.
|
void |
initialize()
The initialize method can be used to do any work that needs to be done
right before the start method is called.
|
boolean |
lazyStart()
If this method returns true, the application will not be started when it
is loaded.
|
void |
setAppProperties(java.util.Properties properties)
Used to set the Properties for this application Set the properties for
this application
|
void |
setEsperService(EsperManagementService esperService)
Used to set the esper service for this application
|
void |
start()
This method is called to start the application.
|
void |
stop()
This method is called to stop the application.
|
java.lang.String getName()
java.lang.String getGroup()
AppState getState()
void setEsperService(EsperManagementService esperService)
esperService
- the esperService to setvoid setAppProperties(java.util.Properties properties)
properties
- boolean lazyStart()
void initialize()
void start()
void stop()