public class DefaultTypeRepository extends java.lang.Object implements TypeRepository
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.Class<?>> |
findReferencedTypes(java.lang.String typeName)
Finds the set of types referenced by the specified type.
|
java.util.Set<java.lang.Class<?>> |
getAllTypes()
Gets all of the types found by this type repository.
|
java.util.List<java.lang.String> |
getPackages()
Gets the packages that this type repository is associated with scanning.
|
java.lang.Class<?> |
loadClass(java.lang.String typeName)
Loads the specified type.
|
public java.lang.Class<?> loadClass(java.lang.String typeName)
throws java.lang.ClassNotFoundException
TypeRepositoryloadClass in interface TypeRepositorytypeName - the type to loadjava.lang.ClassNotFoundException - if the class cannot be found and createdpublic java.util.List<java.lang.String> getPackages()
getPackages in interface TypeRepositorypublic java.util.Set<java.lang.Class<?>> getAllTypes()
getAllTypes in interface TypeRepositorypublic java.util.Set<java.lang.Class<?>> findReferencedTypes(java.lang.String typeName)
findReferencedTypes in interface TypeRepositorytypeName - the starting type