|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Provider
Component interface.
| Method Summary | ||
|---|---|---|
void |
addStateListener(StateListener listener)
Add a state change listener to the state machine. |
|
|
getInstance(Class<T> type)
Return a fully commissioned instance. |
|
State |
getState()
Return the current state of the instance. |
|
void |
removeStateListener(StateListener listener)
Remove a state listener from the state machine. |
|
| Method Detail |
|---|
void addStateListener(StateListener listener)
listener - the state listenervoid removeStateListener(StateListener listener)
listener - the state listenerState getState()
<T> T getInstance(Class<T> type)
type - the instance return type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||