public class RemoteIntrospector extends Object
Remote types, returning all metadata
associated with it. As part of the examination, all annotations are gathered
up. All examined data is cached, so repeat examinations are fast, unless the
examination failed.| Modifier and Type | Method and Description |
|---|---|
static RemoteInfo |
examine(Class<? extends Remote> remote) |
static <R extends Remote> |
getRemoteType(R remoteObj)
Returns the Remote interface implemented by the given Remote object.
|
public static <R extends Remote> Class<? extends Remote> getRemoteType(R remoteObj) throws IllegalArgumentException
remoteObj - remote object to examineIllegalArgumentException - if remote is null or malformedpublic static RemoteInfo examine(Class<? extends Remote> remote) throws IllegalArgumentException
remote - remote interface to examineIllegalArgumentException - if remote is null or malformedCopyright © 2006–2015 Cojen. All rights reserved.