|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.carbonado.info.StorableIntrospector
public class StorableIntrospector
Supports examination of Storable 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.
| Constructor Summary | |
|---|---|
StorableIntrospector()
|
|
| Method Summary | ||
|---|---|---|
static
|
examine(Class<S> type)
Examines the given class and returns a StorableInfo describing it. |
|
static Class<? extends Storable> |
inferType(Class clazz)
Examines a class and determines what Storable type it implements. |
|
static void |
main(String[] args)
Test program which examines candidate Storable classes. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StorableIntrospector()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
args - names of classes to examine
Exceptionpublic static <S extends Storable> StorableInfo<S> examine(Class<S> type)
type - Storable type to examine
MalformedTypeException - if Storable type is invalid
IllegalArgumentException - if type is nullpublic static Class<? extends Storable> inferType(Class clazz)
examined to check validity.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||