|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Context via which Blocks communicate with container.
Field Summary | |
static String |
APP_HOME_DIR
|
static String |
APP_NAME
|
static String |
NAME
|
Method Summary | |
File |
getBaseDirectory()
Base directory of .sar application. |
Logger |
getLogger(String name)
Deprecated. This allows block writers to "break-out" of their logging hierarchy which is considered bad form. Replace by Logger.getChildLogger(String) where original logger is aquired via AbstractLogEnabled. |
String |
getName()
Retrieve name of block. |
InputStream |
getResourceAsStream(String name)
Retrieve a resource from the SAR file. |
void |
requestShutdown()
A block can request that the application it resides in be shut down. |
Field Detail |
public static final String APP_NAME
public static final String APP_HOME_DIR
public static final String NAME
Method Detail |
public File getBaseDirectory()
public String getName()
public void requestShutdown()
public InputStream getResourceAsStream(String name)
name
- the name of resource
public Logger getLogger(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |