Activity
, BeanRegistry
CoreActivity
, DefaultActivity
public abstract class BasicActivity extends AbstractActivity
Created: 2016. 9. 10.
Constructor | Description |
---|---|
BasicActivity(ActivityContext context) |
Instantiates a new BasicActivity.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
executeAdvice(Executable action) |
Executes advice action.
|
void |
executeAdvice(AspectAdviceRule aspectAdviceRule) |
Executes an aspect advice with a given rule.
|
void |
executeAdvice(java.util.List<AspectAdviceRule> aspectAdviceRuleList) |
Execute aspect advices with given rules.
|
void |
executeAdviceWithoutThrow(AspectAdviceRule aspectAdviceRule) |
Executes an aspect advice with a given rule and does not raise an exception.
|
void |
executeAdviceWithoutThrow(java.util.List<AspectAdviceRule> aspectAdviceRuleList) |
Execute aspect advices with given rules, and does not raise exceptions.
|
protected void |
handleException(ExceptionRule exceptionRule) |
|
void |
handleException(java.util.List<ExceptionRule> exceptionRuleList) |
Exception handling.
|
backupCurrentActivity, containsBean, containsBean, getActivityContext, getAfterAdviceResult, getAfterAdviceRuleList, getApplicationAdapter, getAroundAdviceResult, getAspectAdviceBean, getAspectRuleRegistry, getBean, getBean, getBean, getBean, getBeanRegistry, getBeforeAdviceResult, getBeforeAdviceRuleList, getConfigBean, getCurrentActivity, getEnvironment, getExceptionRuleList, getFinallyAdviceResult, getFinallyAdviceRuleList, getRaisedException, getRequestAdapter, getResponseAdapter, getRootCauseOfRaisedException, getSessionAdapter, getSetting, getTemplateProcessor, getTransletRuleRegistry, isExceptionRaised, isIncluded, prepareAspectAdviceRule, putAdviceResult, putAspectAdviceBean, registerAspectRule, removeCurrentActivity, saveCurrentActivity, setIncluded, setRaisedException, setRequestAdapter, setResponseAdapter, setSessionAdapter, terminate, terminate, touchAspectAdviceRuleRegistry
finish, getProcessResult, getProcessResult, getRequestMethod, getTranslet, getTransletName, isResponseReserved, newActivity, perform, performWithoutResponse, prepare, prepare, prepare, prepare
public BasicActivity(ActivityContext context)
context
- the activity contextprotected void executeAdvice(Executable action)
action
- the executable actionpublic void executeAdvice(java.util.List<AspectAdviceRule> aspectAdviceRuleList)
Activity
aspectAdviceRuleList
- the aspect advice rulespublic void executeAdviceWithoutThrow(java.util.List<AspectAdviceRule> aspectAdviceRuleList)
Activity
aspectAdviceRuleList
- the aspect advice rulespublic void executeAdvice(AspectAdviceRule aspectAdviceRule)
Activity
aspectAdviceRule
- the aspect advice rulepublic void executeAdviceWithoutThrow(AspectAdviceRule aspectAdviceRule)
Activity
aspectAdviceRule
- the aspect advice rulepublic void handleException(java.util.List<ExceptionRule> exceptionRuleList)
Activity
exceptionRuleList
- the exception rule listprotected void handleException(ExceptionRule exceptionRule)
Copyright © 2008–2018 The Aspectran Project. All rights reserved.