AspectranActivityContextpublic interface ActivityContext
Created: 2008. 06. 09 PM 2:12:40
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
BASE_DIR_PROPERTY_NAME |
|
static java.lang.String |
DEFAULT_ENCODING |
|
static java.lang.String |
ID_SEPARATOR |
|
static char |
ID_SEPARATOR_CHAR |
|
static java.lang.String |
LINE_SEPARATOR |
|
static java.lang.String |
MESSAGE_SOURCE_BEAN_ID |
|
static char |
TRANSLET_NAME_SEPARATOR_CHAR |
| Modifier and Type | Method | Description |
|---|---|---|
AspectRuleRegistry |
getAspectRuleRegistry() |
Gets the aspect rule registry.
|
BeanRegistry |
getBeanRegistry() |
Gets the bean registry.
|
Activity |
getCurrentActivity() |
Gets the current activity.
|
Activity |
getDefaultActivity() |
Gets the default activity.
|
java.lang.String |
getDescription() |
Gets the description of this ActivityContext.
|
Environment |
getEnvironment() |
Gets the context environment.
|
MessageSource |
getMessageSource() |
Gets the message source.
|
CoreService |
getRootService() |
Returns the Aspectran Service that created the current ActivityContext.
|
ScheduleRuleRegistry |
getScheduleRuleRegistry() |
Gets the schedule rule registry.
|
TemplateProcessor |
getTemplateProcessor() |
Gets the template processor.
|
TransletRuleRegistry |
getTransletRuleRegistry() |
Gets the translet rule registry.
|
void |
removeCurrentActivity() |
Removes the current activity.
|
void |
setCurrentActivity(Activity activity) |
Sets the current activity.
|
void |
setRootService(CoreService rootService) |
Sets the Aspectran Service that created the current ActivityContext.
|
static final java.lang.String ID_SEPARATOR
static final char ID_SEPARATOR_CHAR
static final char TRANSLET_NAME_SEPARATOR_CHAR
static final java.lang.String LINE_SEPARATOR
static final java.lang.String DEFAULT_ENCODING
static final java.lang.String MESSAGE_SOURCE_BEAN_ID
static final java.lang.String BASE_DIR_PROPERTY_NAME
java.lang.String getDescription()
Environment getEnvironment()
CoreService getRootService()
void setRootService(CoreService rootService)
rootService - the root serviceAspectRuleRegistry getAspectRuleRegistry()
BeanRegistry getBeanRegistry()
ScheduleRuleRegistry getScheduleRuleRegistry()
TemplateProcessor getTemplateProcessor()
TransletRuleRegistry getTransletRuleRegistry()
MessageSource getMessageSource()
Activity getDefaultActivity()
Activity getCurrentActivity()
void setCurrentActivity(Activity activity)
activity - the new current activityvoid removeCurrentActivity()
Copyright © 2008–2018 The Aspectran Project. All rights reserved.