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.
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.