Package fish.payara.ejb.http.protocol
Interface InvokeMethodRequest.ArgumentDeserializer
-
- Enclosing class:
- InvokeMethodRequest
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface InvokeMethodRequest.ArgumentDeserializer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object[]deserialise(Object args, Method invoked, Type[] argActualTypes, ClassLoader classLoader)
-
-
-
Method Detail
-
deserialise
Object[] deserialise(Object args, Method invoked, Type[] argActualTypes, ClassLoader classLoader)
Converts the method arguments form aClassandObjectindependent format to the actual method argumentObjects. This step is deferred since it has to take place within the rightClassLoadercontext in order to not fail looking up application specific classes.- Parameters:
args- the argument as send inInvokeMethodRequestargActualTypes- the actualClasstypes of the arguments as send inInvokeMethodRequestinvoked- theMethodthat should be invoked with the argumentsclassLoader- theClassLoaderto use to load further classes if needed.- Returns:
- The arguments as they should be passed to the
Methodinvoked
-
-