Package com.aspectran.core.activity
A package for handling an activity that perform requests, business logic, and responses.
-
Interface Summary Interface Description Activity An activity is a set of actions that an Aspectran service performs to process a request.InstantAction<V> An action to execute on Instant Activity.Translet Translet provides the parsed request data to the user and processes the user's response command. -
Class Summary Class Description AbstractActivity The Class AbstractActivity.AbstractTranslet ActivityData A map of data for saving activity results.AdviceActivity Abstract activity for executing advice injected between actions.CoreActivity Core activity for handling official requests in Aspectran services.CoreTranslet The Class CoreTranslet.DefaultActivity Default activity used only internally when there is no official activity.FormattingContext Created: 2019-07-06InstantActivity CoreActivity could only be executed by the framework, but using this InstantActivity could also be executed by user code.InstantActivitySupport Inheriting this class provides access to the activity context and facilitates execution of the activity.NonActivity This is an activity that does nothing, and is mainly used for unit testing. -
Exception Summary Exception Description ActivityException Checked exception thrown when an activity fails.ActivityPerformException Checked exception thrown when an error occurs while performing an activity.ActivityPrepareException Checked exception thrown when an error occurs while preparing an activity.ActivityTerminatedException Checked exception thrown when activity is terminated while preparing or performing.AdapterException Checked exception thrown when an error occurs while attaching each adapter required for the activity.InstantActivityException Thrown when an error occurs while performing an instant activity.TransletNotFoundException Checked exception thrown when an attempt is made to access a translet that does not exist.