|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILoadable
A component that needs to be loaded before usage.
Method Summary | |
---|---|
boolean |
isRunning()
Checks if the component has been loaded. |
void |
load()
Loads or initializes the component. |
void |
unload()
Unloads or deactivates the component. |
Methods inherited from interface raccoon.api.types.IBaseComponent |
---|
isInError |
Method Detail |
---|
void load() throws java.lang.IllegalStateException, LoadableException
LoadableException
- if the component couldn't load itself.
java.lang.IllegalStateException
- if the component isn't in a state to load itself.void unload() throws java.lang.IllegalStateException, LoadableException
LoadableException
- if the component couldn't unload itself.
java.lang.IllegalStateException
- if this component isn't in a state to unload itself.boolean isRunning()
true
if the component has been correctly loaded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |