private Type[] getRepostoryGenericInterfaces(final RepositoryMetadata metadata) {
final Type[] repositoryGenericInterfaces = metadata.getRepositoryInterface().getGenericInterfaces();
if (repositoryGenericInterfaces.length < 1) {
throw new RuntimeException("Don't recognize " + metadata.getRepositoryInterface() + " as a Repository (does it extend " + Repository.class.getName() + "?)");
}
return repositoryGenericInterfaces;
}
RichObjectRepositoryFactory.java 文件源码
java
阅读 85
收藏 0
点赞 0
评论 0
项目:richobjects
作者:
评论列表
文章目录