|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public String getPartition()
public File getWorkingDirectory()
public File getTempDirectory()
public void addControllerContextListener(ControllerContextListener listener)
listener
- the controller context listener to addpublic void 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 |