Package com.aspectran.core.activity
Class InstantActivitySupport
java.lang.Object
com.aspectran.core.activity.InstantActivitySupport
- All Implemented Interfaces:
ActivityContextAware
,Aware
- Direct Known Subclasses:
SessionListenerRegistrationBean
,SqlSessionAgent
@AvoidAdvice
public abstract class InstantActivitySupport
extends Object
implements ActivityContextAware
Inheriting this class provides access to the activity context and
facilitates execution of the activity.
Created: 29/09/2019
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ActivityContext
protected ApplicationAdapter
protected Activity
protected BeanRegistry
protected Activity
protected Environment
protected MessageSource
protected TemplateRenderer
protected boolean
protected <V> V
instantActivity
(InstantAction<V> instantAction) protected void
instantActivity
(String transletName) void
setActivityContext
(ActivityContext context)
-
Constructor Details
-
InstantActivitySupport
public InstantActivitySupport()
-
-
Method Details
-
getActivityContext
-
setActivityContext
- Specified by:
setActivityContext
in interfaceActivityContextAware
-
getAvailableActivity
-
getCurrentActivity
-
hasCurrentActivity
protected boolean hasCurrentActivity() -
getApplicationAdapter
-
getEnvironment
-
getBeanRegistry
-
getTemplateRenderer
-
getMessageSource
-
instantActivity
-
instantActivity
-