Component, ActivityContextpublic class AspectranActivityContext extends AbstractComponent implements ActivityContext
Created: 2008. 06. 09 PM 2:12:40
BASE_DIR_PROPERTY_NAME, DEFAULT_ENCODING, ID_SEPARATOR, ID_SEPARATOR_CHAR, LINE_SEPARATOR, MESSAGE_SOURCE_BEAN_ID, TRANSLET_NAME_SEPARATOR_CHAR| Constructor | Description |
|---|---|
AspectranActivityContext(ContextEnvironment contextEnvironment) |
Instantiates a new AspectranActivityContext.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doDestroy() |
|
protected void |
doInitialize() |
|
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 |
setAspectRuleRegistry(AspectRuleRegistry aspectRuleRegistry) |
|
void |
setContextBeanRegistry(ContextBeanRegistry contextBeanRegistry) |
Sets the context bean registry.
|
void |
setContextTemplateProcessor(ContextTemplateProcessor contextTemplateProcessor) |
Sets the template processor.
|
void |
setCurrentActivity(Activity activity) |
Sets the current activity.
|
void |
setDescription(java.lang.String description) |
|
void |
setRootService(CoreService rootService) |
Sets the Aspectran Service that created the current ActivityContext.
|
void |
setScheduleRuleRegistry(ScheduleRuleRegistry scheduleRuleRegistry) |
|
void |
setTransletRuleRegistry(TransletRuleRegistry transletRuleRegistry) |
Sets the translet rule registry.
|
destroy, getComponentName, initialize, isAvailable, isDestroyed, isInitializedpublic AspectranActivityContext(ContextEnvironment contextEnvironment)
contextEnvironment - the context environmentpublic java.lang.String getDescription()
ActivityContextgetDescription in interface ActivityContextpublic void setDescription(java.lang.String description)
public Environment getEnvironment()
ActivityContextgetEnvironment in interface ActivityContextpublic CoreService getRootService()
ActivityContextgetRootService in interface ActivityContextpublic void setRootService(CoreService rootService)
ActivityContextsetRootService in interface ActivityContextrootService - the root servicepublic AspectRuleRegistry getAspectRuleRegistry()
ActivityContextgetAspectRuleRegistry in interface ActivityContextpublic void setAspectRuleRegistry(AspectRuleRegistry aspectRuleRegistry)
public BeanRegistry getBeanRegistry()
ActivityContextgetBeanRegistry in interface ActivityContextpublic void setContextBeanRegistry(ContextBeanRegistry contextBeanRegistry)
contextBeanRegistry - the new context bean registrypublic TemplateProcessor getTemplateProcessor()
ActivityContextgetTemplateProcessor in interface ActivityContextpublic void setContextTemplateProcessor(ContextTemplateProcessor contextTemplateProcessor)
contextTemplateProcessor - the new template processorpublic ScheduleRuleRegistry getScheduleRuleRegistry()
ActivityContextgetScheduleRuleRegistry in interface ActivityContextpublic void setScheduleRuleRegistry(ScheduleRuleRegistry scheduleRuleRegistry)
public TransletRuleRegistry getTransletRuleRegistry()
ActivityContextgetTransletRuleRegistry in interface ActivityContextpublic void setTransletRuleRegistry(TransletRuleRegistry transletRuleRegistry)
transletRuleRegistry - the new translet rule registrypublic MessageSource getMessageSource()
ActivityContextgetMessageSource in interface ActivityContextpublic Activity getDefaultActivity()
ActivityContextgetDefaultActivity in interface ActivityContextpublic Activity getCurrentActivity()
ActivityContextgetCurrentActivity in interface ActivityContextpublic void setCurrentActivity(Activity activity)
ActivityContextsetCurrentActivity in interface ActivityContextactivity - the new current activitypublic void removeCurrentActivity()
ActivityContextremoveCurrentActivity in interface ActivityContextprotected void doInitialize()
throws java.lang.Exception
doInitialize in class AbstractComponentjava.lang.Exceptionprotected void doDestroy()
doDestroy in class AbstractComponentCopyright © 2008–2018 The Aspectran Project. All rights reserved.