|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControllerContext
The ControllerContext declares the runtime context that a controller is established within. Controller implementations will typically receive be bsupplied with a context object as a constructor argument.
Method Summary | |
---|---|
void |
addControllerContextListener(ControllerContextListener listener)
Add the supplied controller context listener to the controller context. |
String |
getPartition()
Return the assigned root partition. |
File |
getTempDirectory()
Return the root temporary directory. |
File |
getWorkingDirectory()
Return the root working directory. |
void |
removeControllerContextListener(ControllerContextListener listener)
Remove the supplied controller context listener from the controller context. |
Method Detail |
---|
String getPartition()
File getWorkingDirectory()
File getTempDirectory()
void addControllerContextListener(ControllerContextListener listener)
listener
- the controller context listener to addvoid removeControllerContextListener(ControllerContextListener listener)
listener
- the controller context listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |