Skip to content

Instantiating Condition #1

Description

@hantsy

I found this in the RequiresCondition extension.

conditionClass.getConstructor().newInstance();

In Spring, Condition can be defined as a bean and can evaluate the environment, properties, bean existence, etc., before instantiating a bean.

In addition, for example, when in an HTTP request scope, if the payment method (PAYPAL or STRIPE in the example) is selected in the browser and passed to the request, how should we handle it within that scope?

Here, the condition may require a context concept that is bound to the execution context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions