
Static Public Member Functions | |
| static boolean | isLocalArg (Class param) |
| static void | registerLocalArgResolver (Class argClazz, Class contextInterface, LocalArgResolver argResolver) |
| static Object | resolveLocalArg (Object context[], Class param) throws UnmarshallException |
| static void | unregisterLocalArgResolver (Class argClazz, Class contextInterface, LocalArgResolver argResolver) |
Static Private Attributes | |
| static Map | localArgResolverMap = new HashMap() |
| static final Logger | log |
| static boolean isLocalArg | ( | Class | param | ) | [static] |
Determine if an argument of the specified class type can be resolved to a local argument that is filled in on the server prior to being invoked.
| param | local argument class. |
| static void registerLocalArgResolver | ( | Class | argClazz, | |
| Class | contextInterface, | |||
| LocalArgResolver | argResolver | |||
| ) | [static] |
Registers a Class to be removed from the exported method signatures and instead be resolved locally using context information from the transport.
TODO: make the order that the variables are given to this function the same as the variables are given to LocalArgResolverData
| argClazz | The class to be resolved locally | |
| argResolver | The user defined class that resolves the and returns the method argument using transport context information | |
| contextInterface | The type of transport Context object the callback is interested in eg. HttpServletRequest.class for the servlet transport |
| static Object resolveLocalArg | ( | Object | context[], | |
| Class | param | |||
| ) | throws UnmarshallException [static] |
Using the caller's context, resolve a given method call parameter to a local argument.
| context | callers context. In an http servlet environment, this will contain the servlet request and response objects. | |
| param | class type parameter to resolve to a local argument. |
| UnmarshallException | if there if a failure during resolution. |
| static void unregisterLocalArgResolver | ( | Class | argClazz, | |
| Class | contextInterface, | |||
| LocalArgResolver | argResolver | |||
| ) | [static] |
Unregisters a LocalArgResolver.
| argClazz | The previously registered local class | |
| argResolver | The previously registered LocalArgResolver object | |
| contextInterface | The previously registered transport Context interface. |
Map localArgResolverMap = new HashMap() [static, private] |
Key: argClazz (ie Class), Value: HashSet<LocalArgResolverData>
final Logger log [static, private] |
Initial value:
LoggerFactory
.getLogger(LocalArgController.class)
1.5.8