T
- The configuration bean type. Must be a bean.public interface Action<T>
Modifier and Type | Method and Description |
---|---|
default void |
destroy()
Destruction.
|
void |
init(T configuration,
oracle.sdp.daf.config.ApiConfiguration apiConfiguration)
Initialization.
|
void |
process(HttpContext context)
Process the request.
|
default void |
update(T configuration,
oracle.sdp.daf.config.ApiConfiguration apiConfiguration)
Update.
|
void init(T configuration, oracle.sdp.daf.config.ApiConfiguration apiConfiguration) throws ActionConfigurationException
configuration
- The configuration that should be initialized in the actionapiConfiguration
- The configuration of the api. A clone will be provided to
the action, so changing it serves no purpose.ActionConfigurationException
- Any configuration exception that occurred
while initializing the action. Used to validate the configuration.void process(HttpContext context) throws ActionProcessingError
context
- The contextActionProcessingError
- Exception when processingdefault void update(T configuration, oracle.sdp.daf.config.ApiConfiguration apiConfiguration) throws ActionConfigurationException
configuration
- The configuration that should be updated in the actionapiConfiguration
- The configuration of the api. A clone will be provided to
the action, so changing it serves no purpose.ActionConfigurationException
- Exception when updatingdefault void destroy()