DefaultTypeRepository
public interface TypeRepository
Modifier and Type | Method | 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.
|
java.util.List<java.lang.String> getPackages()
java.util.Set<java.lang.Class<?>> getAllTypes()
java.util.Set<java.lang.Class<?>> findReferencedTypes(java.lang.String typeName)
typeName
- the starting typejava.lang.Class<?> loadClass(java.lang.String typeName) throws java.lang.ClassNotFoundException
typeName
- the type to loadjava.lang.ClassNotFoundException
- if the class cannot be found and created