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 aClass
andObject
independent format to the actual method argumentObject
s. This step is deferred since it has to take place within the rightClassLoader
context in order to not fail looking up application specific classes.- Parameters:
args
- the argument as send inInvokeMethodRequest
argActualTypes
- the actualClass
types of the arguments as send inInvokeMethodRequest
invoked
- theMethod
that should be invoked with the argumentsclassLoader
- theClassLoader
to use to load further classes if needed.- Returns:
- The arguments as they should be passed to the
Method
invoked
-
-