Skip to content

Refactoring - Unify how Interceptors recognize target methods #227

@oasuncion

Description

@oasuncion

Eclipse Tradista makes use of numerous EJB interceptors as pre and post filters, this to implement data segregation by Processing Organizations.

Generally, to recognize target methods, the interceptors make use of "instanceof " on the passed parameters's values to detect their types. This technique has a drawback : when the passed value is null, the check will return false.

The aim of this ticket is to replace in all interceptors the usage of instanceof by a comparision of types using the reflect package (Parameter class). See what has been done for #204 as a reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions